| Summary: | dev-java/jdbc-jaybird compile.xml does not respect source/target | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
| Component: | [OLD] Java | Assignee: | William L. Thomson Jr. (RETIRED) <wltjr> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | java, wltjr |
| Priority: | High | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 205262 has been marked as a duplicate of this bug. *** Need to modify compile.xml to respect -source/-target, both versions Resolved in 2.1.2, just committed to tree. |
>>> Compiling source in /var/tmp/portage/dev-java/jdbc-jaybird-2.1.0-r1/work/client-java ... Java QA Notice: You should inherit java-ant-2 when using eant Means rewriting is not happening: class-version-verify.py -t 1.4 /usr/share/jdbc-jaybird/lib/*.jar CVV: 4 Checked: 737 Good: 40 Bad: 697 Simple rewriting is not useful: set-pool1.4-src: set-pool1.5-src: compile-pool: [mkdir] Created dir: /var/tmp/portage/dev-java/jdbc-jaybird-2.1.0-r1/work/client-java/output/pool [javac] Compiling 38 source files to /var/tmp/portage/dev-java/jdbc-jaybird-2.1.0-r1/work/client-java/output/pool [javac] This version of java does not support the classic compiler; upgrading to modern [javac] /var/tmp/portage/dev-java/jdbc-jaybird-2.1.0-r1/work/client-java/src/pool_jdk1_5/org/firebirdsql/pool/DriverConnectionPoolDataSource.java:54: generics are not supported in -source 1.4 [javac] (try -source 1.5 to enable generics) [javac] Hashtable<?,?> environment) throws Exception { [javac] ^ [javac] /var/tmp/portage/dev-java/jdbc-jaybird-2.1.0-r1/work/client-java/src/pool_jdk1_5/org/firebirdsql/pool/FBConnectionPoolDataSource.java:53: generics are not supported in -source 1.4 [javac] (try -source 1.5 to enable generics) [javac] Hashtable<?,?> environment) throws Exception { [javac] ^ [javac] 2 errors It seems we need to probably force 1.4 and maybe have a java5 use flag.