Bug 842584 - eclipse - compile with -target 1.5 or greater
Summary: eclipse - compile with -target 1.5 or greater
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Krzysztof Daniel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 842394
TreeView+ depends on / blocked
 
Reported: 2012-07-24 09:23 UTC by Mikolaj Izdebski
Modified: 2014-01-13 00:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-17 10:04:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2012-07-24 09:23:01 UTC
Package eclipse 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 Alexander Kurtakov 2012-07-24 10:23:21 UTC
Please include the names of the jars from eclipse rpms that are failing this rule.

Comment 2 Mikolaj Izdebski 2012-07-24 11:17:43 UTC
The list of suspicious jars is:

/usr/lib64/eclipse/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110808-1657.jar
/usr/lib64/eclipse/plugins/org.eclipse.equinox.p2.repository_2.2.0.v20120524-1945.jar
/usr/lib64/eclipse/plugins/org.eclipse.equinox.p2.ui.importexport_1.0.1.v20110818-1344.jar
/usr/lib64/eclipse/plugins/org.eclipse.equinox.p2.updatechecker_1.1.200.v20110808-1657.jar

Generated with:

for p in `zgrep '#48..$' jsr14-rawhide-2012-07-23.gz | sed -e s'/^[^#]*#//' -e 's/#.*//' -e s/.// | sort -u`; do test `repoquery --repoid rawhide --whatprovides $p --source | head -1` = eclipse-4.2.0-3.fc18.src.rpm && echo $p; done

Comment 4 Krzysztof Daniel 2013-01-17 10:04:46 UTC
This should be done for f18+ as a side effect of moving to CBI.


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