JDK-8196618 : Create API to list supported values for javac --release option
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 11
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-02-01
  • Updated: 2018-06-30
  • Resolved: 2018-06-14
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 11
11 b19Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The test

    langtools/tools/javac/modules/JavaBaseTest.java

among others wants to iterate over some subset of supported values of --release. Since there is not currently an API to provide that information, such tests have to be updated separately each release to stay current.