Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13652

Compile using JDK 11

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 20.0.0.Final
    • Build System
    • None

      As discussed on wildfly-dev mailing list, to enable the use of multi-release wildfly modules, we will:

      • Require JDK 11 to compile (for all modules except testsuite modules)
        • Adjust compiler flags to use --release=8
          • This is equivalent to: -source N -target N -bootclasspath <bootclasspath-from-N>
      • To ensure surefire tests are run against each supported JRE (wherever necessary), we will update the CI server maven settings to specify system properties for:
        • java8.home
        • java11.home
      • Update JDK8 specific CI servers to build with JDK 11, but run integration tests using Java 8.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: