You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/11/26 10:17:29 UTC

svn commit: r1641780 - /tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java

Author: markt
Date: Wed Nov 26 09:17:28 2014
New Revision: 1641780

URL: http://svn.apache.org/r1641780
Log:
Default to Java 8.
Review of 1641363 by kkolinko

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java?rev=1641780&r1=1641779&r2=1641780&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java Wed Nov 26 09:17:28 2014
@@ -315,7 +315,7 @@ public class JDTCompiler extends org.apa
             } else {
                 log.warn("Unknown source VM " + opt + " ignored.");
                 settings.put(CompilerOptions.OPTION_Source,
-                        CompilerOptions.VERSION_1_7);
+                        CompilerOptions.VERSION_1_8);
             }
         } else {
             // Default to 1.8
@@ -361,7 +361,7 @@ public class JDTCompiler extends org.apa
             } else {
                 log.warn("Unknown target VM " + opt + " ignored.");
                 settings.put(CompilerOptions.OPTION_TargetPlatform,
-                        CompilerOptions.VERSION_1_7);
+                        CompilerOptions.VERSION_1_8);
             }
         } else {
             // Default to 1.8
@@ -464,8 +464,5 @@ public class JDTCompiler extends org.apa
         if (! options.isSmapSuppressed()) {
             SmapUtil.installSmap(smap);
         }
-
     }
-
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org