Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902966

jtreg does not build with JDK 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • jtreg6.0
    • 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.

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

              Created:
              Updated:
              Resolved: