ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50256] New: ant.java.version should be set to 1.5 not 1.6 when using gcj
Date Thu, 11 Nov 2010 19:55:32 GMT
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: notifications@ant.apache.org
        ReportedBy: eric225125@gmail.com


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.

Mime
View raw message