ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r1345316 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
Date Fri, 01 Jun 2012 19:18:54 GMT
Author: jglick
Date: Fri Jun  1 19:18:53 2012
New Revision: 1345316

URL: http://svn.apache.org/viewvc?rev=1345316&view=rev
Log:
#53347: <javac> by default fails when run on JDK 8.
Follow-up to revision 1236803.

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=1345316&r1=1345315&r2=1345316&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Fri Jun  1 19:18:53 2012
@@ -28,6 +28,9 @@ Fixed bugs:
    system properties from the command line (or from a property file).
    Bugzilla Report 51792
    
+ * <javac> by default fails when run on JDK 8.
+   Bugzilla Report 53347.
+
 Other changes:
 --------------
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java?rev=1345316&r1=1345315&r2=1345316&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
Fri Jun  1 19:18:53 2012
@@ -120,7 +120,8 @@ public final class CompilerAdapterFactor
                 || compilerType.equalsIgnoreCase("javac1.4")
                 || compilerType.equalsIgnoreCase("javac1.5")
                 || compilerType.equalsIgnoreCase("javac1.6")
-                || compilerType.equalsIgnoreCase("javac1.7")) {
+                || compilerType.equalsIgnoreCase("javac1.7")
+                || compilerType.equalsIgnoreCase("javac1.8")) {
                 // does the modern compiler exist?
                 if (doesModernCompilerExist()) {
                     return new Javac13();



Mime
View raw message