Bug 842608

Summary: jboss-naming - compile with -target 1.5 or greater
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: jboss-namingAssignee: Ricardo Arguello <ricardo.arguello>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 19CC: mgoldman, pbrobinson, ricardo.arguello
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 23:03:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 842394    

Description Mikolaj Izdebski 2012-07-24 09:25:26 UTC
Package jboss-naming appears to be using Java generics,
but generates class files in format older than 49.0,
which corresponds to J2SE 5.0, in which generics were introduced.

Please update this package to generate classes in format 49.0 or
above. This corresponds to -target 1.5 option of javac (or ecj).

For more information, see bug #842394

Comment 1 Marek Goldmann 2012-07-28 08:59:39 UTC
The file in question is a RMI stub generated by rmic-maven-plugin from NamingServer class. Although this class uses generics, I don't see a way to tell rmic-maven-plugin to change the target for the generated classes and it ends up with 45.3 version.

http://anonsvn.jboss.org/repos/jbossas/projects/naming/tags/5.0.6.CR1/jnpserver/pom.xml
http://mojo.codehaus.org/rmic-maven-plugin/rmic-mojo.html

Any hints?

Comment 2 Fedora End Of Life 2013-04-03 18:21:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19