Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
tomcat10
tomcat-jdt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tomcat-jdt.patch of Package tomcat10
--- apache-tomcat-10.1.20-src/java/org/apache/jasper/compiler/JDTCompiler.java 2024-04-06 14:14:17.015180386 +0200 +++ apache-tomcat-10.1.20-src/java/org/apache/jasper/compiler/JDTCompiler.java 2024-04-06 14:14:33.635284982 +0200 @@ -310,13 +310,13 @@ } else if(opt.equals("15")) { settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_15); } else if(opt.equals("16")) { - settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_16); + settings.put(CompilerOptions.OPTION_Source, "16"); } else if(opt.equals("17")) { - settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_17); + settings.put(CompilerOptions.OPTION_Source, "17"); } else if(opt.equals("18")) { - settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_18); + settings.put(CompilerOptions.OPTION_Source, "18"); } else if (opt.equals("19")) { - settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_19); + settings.put(CompilerOptions.OPTION_Source, "19"); } else if (opt.equals("20")) { // Constant not available in latest ECJ version that runs on // Java 11. @@ -388,17 +388,17 @@ settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_15); settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_15); } else if(opt.equals("16")) { - settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_16); - settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_16); + settings.put(CompilerOptions.OPTION_TargetPlatform, "16"); + settings.put(CompilerOptions.OPTION_Compliance, "16"); } else if(opt.equals("17")) { - settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_17); - settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_17); + settings.put(CompilerOptions.OPTION_TargetPlatform, "17"); + settings.put(CompilerOptions.OPTION_Compliance, "17"); } else if(opt.equals("18")) { - settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_18); - settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_18); + settings.put(CompilerOptions.OPTION_TargetPlatform, "18"); + settings.put(CompilerOptions.OPTION_Compliance, "18"); } else if (opt.equals("19")) { - settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_19); - settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_19); + settings.put(CompilerOptions.OPTION_TargetPlatform, "19"); + settings.put(CompilerOptions.OPTION_Compliance, "19"); } else if (opt.equals("20")) { // Constant not available in latest ECJ version that runs on // Java 11.
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