https://bugzilla.redhat.com/show_bug.cgi?id=842620
Bug ID: 842620 QA Contact: extras-qa@fedoraproject.org Severity: medium Version: rawhide Priority: medium CC: akurtako@redhat.com, ivan.afonichev@gmail.com, java-sig-commits@lists.fedoraproject.org, kdaniel@redhat.com Assignee: ivan.afonichev@gmail.com Summary: tomcat - compile with -target 1.5 or greater Regression: --- Story Points: --- Classification: Fedora OS: Linux Reporter: mizdebsk@redhat.com Type: --- Documentation: --- Hardware: All Mount Type: --- Status: NEW Component: tomcat Product: Fedora
Package tomcat 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
https://bugzilla.redhat.com/show_bug.cgi?id=842620
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |842394
https://bugzilla.redhat.com/show_bug.cgi?id=842620
Ivan Afonichev ivan.afonichev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WORKSFORME Last Closed| |2012-08-24 17:08:30
--- Comment #1 from Ivan Afonichev ivan.afonichev@gmail.com --- It seems tomcat package already build in 50 format. also build.xml:
<!-- Servlet 3.0 spec requires 1.6+ --> <property name="compile.source" value="1.6"/> <property name="compile.target" value="1.6"/>
https://bugzilla.redhat.com/show_bug.cgi?id=842620
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Resolution|WORKSFORME |--- Keywords| |Reopened
--- Comment #2 from Mikolaj Izdebski mizdebsk@redhat.com --- These 2 jars have classes in format 48.0: /var/lib/tomcat/webapps/examples/WEB-INF/lib/jstl.jar /var/lib/tomcat/webapps/examples/WEB-INF/lib/standard.jar These are part of tomcat-webapps binary RPM build from tomcat SRPM
To see the full list of affected classes, you can try: curl http://mizdebsk.fedorapeople.org/jsr14-rawhide-2012-07-23.gz | zgrep ^tomcat-webapps-
You can also use javap to check class versions.
https://bugzilla.redhat.com/show_bug.cgi?id=842620
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=842620
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- tomcat-7.0.32-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/tomcat-7.0.32-1.fc18
https://bugzilla.redhat.com/show_bug.cgi?id=842620
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
https://bugzilla.redhat.com/show_bug.cgi?id=842620
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- Package tomcat-7.0.32-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tomcat-7.0.32-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16389/tomcat-7.0.32-1.fc... then log in and leave karma (feedback).
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=842620
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed|2012-08-24 17:08:30 |2012-12-20 10:44:02
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=842620
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- tomcat-7.0.32-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
java-sig-commits@lists.fedoraproject.org