817844a
--- java/org/apache/jasper/compiler/JDTCompiler.java	2016-08-05 10:42:20.654618855 -0400
817844a
+++ java/org/apache/jasper/compiler/JDTCompiler.java	2016-08-05 10:44:51.486599219 -0400
817844a
@@ -67,7 +67,6 @@
ae0ef24
     /** 
ae0ef24
      * Compile the servlet from .java file to .class file
ae0ef24
      */
ae0ef24
-    @Override
ae0ef24
     protected void generateClass(String[] smap)
ae0ef24
         throws FileNotFoundException, JasperException, Exception {
817844a
 
817844a
@@ -98,12 +97,10 @@
ae0ef24
                 this.sourceFile = sourceFile;
ae0ef24
             }
817844a
 
ae0ef24
-            @Override
ae0ef24
             public char[] getFileName() {
ae0ef24
                 return sourceFile.toCharArray();
ae0ef24
             }
817844a
             
ae0ef24
-            @Override
ae0ef24
             public char[] getContents() {
ae0ef24
                 char[] result = null;
ae0ef24
                 FileInputStream is = null;
817844a
@@ -145,7 +142,6 @@
ae0ef24
                 return result;
ae0ef24
             }
817844a
             
ae0ef24
-            @Override
ae0ef24
             public char[] getMainTypeName() {
ae0ef24
                 int dot = className.lastIndexOf('.');
ae0ef24
                 if (dot > 0) {
817844a
@@ -154,7 +150,6 @@
ae0ef24
                 return className.toCharArray();
ae0ef24
             }
817844a
             
ae0ef24
-            @Override
ae0ef24
             public char[][] getPackageName() {
ae0ef24
                 StringTokenizer izer = 
ae0ef24
                     new StringTokenizer(className, ".");
817844a
@@ -166,7 +161,6 @@
ae0ef24
                 return result;
ae0ef24
             }
ae0ef24
 
ae0ef24
-            @Override
ae0ef24
             public boolean ignoreOptionalProblems() {
ae0ef24
                 return false;
ae0ef24
             }
817844a
@@ -174,7 +168,6 @@
ae0ef24
 
ae0ef24
         final INameEnvironment env = new INameEnvironment() {
ae0ef24
 
ae0ef24
-                @Override
ae0ef24
                 public NameEnvironmentAnswer 
ae0ef24
                     findType(char[][] compoundTypeName) {
7cac3fa
                     StringBuilder result = new StringBuilder();
817844a
@@ -187,7 +180,6 @@
7cac3fa
                     return findType(result.toString());
ae0ef24
                 }
ae0ef24
 
ae0ef24
-                @Override
ae0ef24
                 public NameEnvironmentAnswer 
ae0ef24
                     findType(char[] typeName, 
ae0ef24
                              char[][] packageName) {
817844a
@@ -269,7 +261,6 @@
ae0ef24
                     }
ae0ef24
                 }
817844a
 
ae0ef24
-                @Override
ae0ef24
                 public boolean isPackage(char[][] parentPackageName, 
ae0ef24
                                          char[] packageName) {
7cac3fa
                     StringBuilder result = new StringBuilder();
817844a
@@ -291,7 +282,6 @@
7cac3fa
                     return isPackage(result.toString());
ae0ef24
                 }
ae0ef24
 
ae0ef24
-                @Override
ae0ef24
                 public void cleanup() {
ae0ef24
                 }
ae0ef24
 
817844a
@@ -340,9 +330,6 @@
ae0ef24
             } else if(opt.equals("1.7")) {
ae0ef24
                 settings.put(CompilerOptions.OPTION_Source,
ae0ef24
                              CompilerOptions.VERSION_1_7);
ae0ef24
-            } else if(opt.equals("1.8")) {
ae0ef24
-                settings.put(CompilerOptions.OPTION_Source,
ae0ef24
-                             CompilerOptions.VERSION_1_8);
ae0ef24
             } else {
ae0ef24
                 log.warn("Unknown source VM " + opt + " ignored.");
ae0ef24
                 settings.put(CompilerOptions.OPTION_Source,
817844a
@@ -384,11 +371,6 @@
ae0ef24
                              CompilerOptions.VERSION_1_7);
ae0ef24
                 settings.put(CompilerOptions.OPTION_Compliance,
ae0ef24
                         CompilerOptions.VERSION_1_7);
ae0ef24
-            } else if(opt.equals("1.8")) {
ae0ef24
-                settings.put(CompilerOptions.OPTION_TargetPlatform,
ae0ef24
-                             CompilerOptions.VERSION_1_8);
ae0ef24
-                settings.put(CompilerOptions.OPTION_Compliance,
ae0ef24
-                        CompilerOptions.VERSION_1_8);
ae0ef24
             } else {
ae0ef24
                 log.warn("Unknown target VM " + opt + " ignored.");
ae0ef24
                 settings.put(CompilerOptions.OPTION_TargetPlatform,
817844a
@@ -406,7 +388,6 @@
ae0ef24
             new DefaultProblemFactory(Locale.getDefault());
817844a
         
ae0ef24
         final ICompilerRequestor requestor = new ICompilerRequestor() {
ae0ef24
-                @Override
ae0ef24
                 public void acceptResult(CompilationResult result) {
ae0ef24
                     try {
ae0ef24
                         if (result.hasProblems()) {