-
Patch
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Release Notes
-
jsp-config source-vm and target-vm support JDK version up to 11
Affects Jastow 2.1.1.Final-SHAPSHOT
The options to define the source and target version for the compiler defined in <jsp-config source-vm="11" target-vm="11" /> in the servlet-container do not support 9, 10 nor, 11 only 1.0 up to 1.9.
org.apache.jasper.compiler.JDTCompiler#generateClass() needs an update to set ctxt.getOptions().getCompilerSourceVM() and ctxt.getOptions().getCompilerTargetVM() into settings for 9, 10 and 11.
It also needs an update of the Eclipse ecj dependency because the current one doesn't support 9, 10 nor, 11 in the class org.eclipse.jdt.internal.compiler.impl.CompilerOptions
In the git pull request I wrote a patch continuing the style of writing.