Bug 842581

Summary: dbus-java - compile with -target 1.5 or greater
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: dbus-javaAssignee: Omair Majid <omajid>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: omajid
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: 2012-08-01 22:23:38 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:22:41 UTC
Package dbus-java 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 Omair Majid 2012-08-01 22:23:38 UTC
dbus-java is indeed using generics. But all the classfiles it creates out of java files have a class file format of 51.0. The build scripts do not specify a -target paramter at all. The only class file that have a different version are those that are generated by msgfmt --java2.

Closing as NOTABUG.