https://issues.apache.org/bugzilla/show_bug.cgi?id=50256
Summary: ant.java.version should be set to 1.5 not 1.6 when
using gcj
Product: Ant
Version: 1.8.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
gcj implements some java 1.6 classes so ant detects it as a 1.6 jdk, but it
should really be just 1.5.
This problem causes failures when building things like Xerces-J, which uses
ant.java.version to set the java source level.
compile:
[copy] Copying 23 files to
/var/tmp/paludis/build/dev-java-Xerces-J-2.10.0/work/xerces-2_10_0/build/classes
[xjavac] Compiling 704 source files to
/var/tmp/paludis/build/dev-java-Xerces-J-2.10.0/work/xerces-2_10_0/build/classes
[xjavac] Compliance level '1.5' is incompatible with source level '1.6'. A
compliance level '1.6' or better is required
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.