59782c48d1
Update to 7.0.53 and various SLE_11 fixes OBS-URL: https://build.opensuse.org/request/show/234205 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=43
26 lines
1.4 KiB
Diff
26 lines
1.4 KiB
Diff
Index: java/org/apache/jasper/compiler/JDTCompiler.java
|
|
===================================================================
|
|
--- java/org/apache/jasper/compiler/JDTCompiler.java (revision 1585931)
|
|
+++ java/org/apache/jasper/compiler/JDTCompiler.java (working copy)
|
|
@@ -335,7 +335,7 @@
|
|
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
|
|
} else {
|
|
log.warn("Unknown source VM " + opt + " ignored.");
|
|
settings.put(CompilerOptions.OPTION_Source,
|
|
@@ -379,9 +379,9 @@
|
|
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 {
|
|
log.warn("Unknown target VM " + opt + " ignored.");
|
|
settings.put(CompilerOptions.OPTION_TargetPlatform,
|