Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8194070 Update various tests to pass under JDK 11
  3. JDK-8196623

Update JavaBaseTest.java to be version agnostic

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • tools
    • b01

      The test

         langtools/tools/javac/modules/JavaBaseTest.java

      assumes --release is supported to the the current version value, which isn't necessarily the case. Until an API exists to lists the current set of --release alternatives ( JDK-8196618), one way in increase the utility of the test is to no explicitly use a --release value for the current release.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: