Bug 842618

Summary: quartz - compile with -target 1.5 or greater
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: quartzAssignee: Andy Grimm <agrimm>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: agrimm, jgoulding
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: 2013-02-23 00:44:09 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:26:41 UTC
Package quartz 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 Andy Grimm 2013-02-23 00:44:09 UTC
Additional detail: there appears to be a single class in quartz.jar fitting this description:

org/quartz/core/QuartzScheduler_Stub.class: compiled Java class data, version 45.3

This class is generated by the rmic-maven-plugin, which compiles the class using sun.rmi.rmic.Main in openjdk's tools.jar.  AFAICT, the doCompile method in this class hardcodes majorVersion and minorVersion to 45 and 3, respectively.

http://hg.openjdk.java.net/build-infra/jdk7/jdk/file/f097ca2434b1/src/share/classes/sun/rmi/rmic/Main.java

(see lines 519-520)

I don't see how I can reasonably change this.