Blame SOURCES/tomcat-7.0.54-rebase.patch

828cdb
--- java/org/apache/jasper/compiler/JDTCompiler.java.orig	2014-09-17 12:18:00.909020000 -0400
828cdb
+++ java/org/apache/jasper/compiler/JDTCompiler.java	2014-09-17 12:21:41.007769000 -0400
828cdb
@@ -333,9 +333,11 @@
828cdb
             } else if(opt.equals("1.7")) {
828cdb
                 settings.put(CompilerOptions.OPTION_Source,
828cdb
                              CompilerOptions.VERSION_1_7);
828cdb
+            /**
828cdb
             } else if(opt.equals("1.8")) {
828cdb
                 settings.put(CompilerOptions.OPTION_Source,
828cdb
                              CompilerOptions.VERSION_1_8);
828cdb
+            **/
828cdb
             } else {
828cdb
                 log.warn("Unknown source VM " + opt + " ignored.");
828cdb
                 settings.put(CompilerOptions.OPTION_Source,
828cdb
@@ -377,11 +379,13 @@
828cdb
                              CompilerOptions.VERSION_1_7);
828cdb
                 settings.put(CompilerOptions.OPTION_Compliance,
828cdb
                         CompilerOptions.VERSION_1_7);
828cdb
+            /**
828cdb
             } else if(opt.equals("1.8")) {
828cdb
                 settings.put(CompilerOptions.OPTION_TargetPlatform,
828cdb
                              CompilerOptions.VERSION_1_8);
828cdb
                 settings.put(CompilerOptions.OPTION_Compliance,
828cdb
                         CompilerOptions.VERSION_1_8);
828cdb
+            **/
828cdb
             } else {
828cdb
                 log.warn("Unknown target VM " + opt + " ignored.");
828cdb
                 settings.put(CompilerOptions.OPTION_TargetPlatform,