Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8206083

Make tools/javac/api/T6265137.java robust to JDK version changes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      The javac test

      tools/javac/api/T6265137.java

      uses a hard-coding -target value. The test could be made robust to JDK version changes, meaning it would not need to be updated on version changes, if it created the target argument based on some other version information, such as Runtime.version() or extracted from the SourceVersion enum.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: