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

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

XMLWordPrintable

    • b01

        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.

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

                Created:
                Updated:
                Resolved: