Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1473

jsp-config source-vm and target-vm missing support JDK 9, 10, 11

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None

      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.

              Unassigned Unassigned
              EMeuwese Erik . (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: