tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r393808 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/JDTCompiler.java
Date Thu, 13 Apr 2006 13:56:52 GMT
Author: remm
Date: Thu Apr 13 06:56:50 2006
New Revision: 393808

URL: http://svn.apache.org/viewcvs?rev=393808&view=rev
Log:
- Add missing patch for 1.5 compatibility.

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

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/JDTCompiler.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/JDTCompiler.java?rev=393808&r1=393807&r2=393808&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/JDTCompiler.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/JDTCompiler.java Thu Apr 13 06:56:50
2006
@@ -320,6 +320,8 @@
             } else if(opt.equals("1.5")) {
                 settings.put(CompilerOptions.OPTION_TargetPlatform,
                              CompilerOptions.VERSION_1_5);
+                settings.put(CompilerOptions.OPTION_Compliance,
+                        CompilerOptions.VERSION_1_5);
             } else {
                 log.warn("Unknown target VM " + opt + " ignored.");
                 settings.put(CompilerOptions.OPTION_TargetPlatform,
@@ -328,6 +330,8 @@
         } else {
             // Default to 1.5
             settings.put(CompilerOptions.OPTION_TargetPlatform,
+                    CompilerOptions.VERSION_1_5);
+            settings.put(CompilerOptions.OPTION_Compliance,
                     CompilerOptions.VERSION_1_5);
         }
 



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


Mime
View raw message