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

Update javac diags tests to use properties

    XMLWordPrintable

    Details

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

      Description

      The javac tool has an extensive set of tests to probe at diagnostics reporting under the tools/javac/diags/examples directory. Diagnostics related to preview features need an explicit source version passed in, but cannot immediately benefit from the sort of updates done for JDK-8219254.

      It would be helpful to be able to pass through an environment-defined source version so that enable preview diags tests didn't need to be explicitly updated upon a new release transition.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: