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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]