jtreg does not build with JDK 11

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: jtreg6.0
    • Component/s: tools
    • None

      Partly for historical reasons, we still compile jtreg with JDK 8 by default.

      If you attempt to use JDK 11, you get a bunch of warnings, which become fatal with -Werror of course.

      After fixing the warnings, there's the file that gets patched into java.base which needs be handled separately with JDK 9+.

      After fixing the compilation, some tests fail, typically because of code that relies on JDK8-era features, such as the bootclasspath. For now, these tests are converted to only run when using JDK 8.

            Assignee:
            Unassigned
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: