Bug 842618 - quartz - compile with -target 1.5 or greater
Summary: quartz - compile with -target 1.5 or greater
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: quartz
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Andy Grimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 842394
TreeView+ depends on / blocked
 
Reported: 2012-07-24 09:26 UTC by Mikolaj Izdebski
Modified: 2016-11-08 03:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-23 00:44:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.