Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
tomcat.32132
tomcat-8.0.53-JDTCompiler-java.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tomcat-8.0.53-JDTCompiler-java.patch of Package tomcat.32132
Index: apache-tomcat-8.0.53-src/java/org/apache/jasper/compiler/JDTCompiler.java =================================================================== --- apache-tomcat-8.0.53-src.orig/java/org/apache/jasper/compiler/JDTCompiler.java +++ apache-tomcat-8.0.53-src/java/org/apache/jasper/compiler/JDTCompiler.java @@ -339,11 +339,11 @@ public class JDTCompiler extends org.apa CompilerOptions.VERSION_1_7); } else if(opt.equals("1.8")) { settings.put(CompilerOptions.OPTION_Source, - CompilerOptions.VERSION_1_8); + "1.8"); // CompilerOptions.VERSION_1_8 // Support old format that was used in EA implementation as well } else if(opt.equals("9") || opt.equals("1.9")) { settings.put(CompilerOptions.OPTION_Source, - JDT_JAVA_9_VERSION); + "1.9"); } else if(opt.equals("10")) { // Constant not available in latest ECJ version that runs on // Java 7 @@ -391,14 +391,14 @@ public class JDTCompiler extends org.apa CompilerOptions.VERSION_1_7); } else if(opt.equals("1.8")) { settings.put(CompilerOptions.OPTION_TargetPlatform, - CompilerOptions.VERSION_1_8); + "1.8"); // CompilerOptions.VERSION_1_8 settings.put(CompilerOptions.OPTION_Compliance, - CompilerOptions.VERSION_1_8); + "1.8"); // CompilerOptions.VERSION_1_8 } else if(opt.equals("9") || opt.equals("1.9")) { settings.put(CompilerOptions.OPTION_TargetPlatform, - JDT_JAVA_9_VERSION); + "1.9"); // JDT_JAVA_9_VERSION settings.put(CompilerOptions.OPTION_Compliance, - JDT_JAVA_9_VERSION); + "1.9"); // JDT_JAVA_9_VERSION } else if(opt.equals("10")) { // Constant not available in latest ECJ version that runs on // Java 7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor