JDK-8219256 : Update javac diags tests to use properties
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-02-18
  • Updated: 2019-02-28
  • Resolved: 2019-02-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b10Fixed
Related Reports
Relates :  
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.