JDK-8196623 : Update JavaBaseTest.java to be version agnostic
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-02-02
  • Updated: 2018-02-16
  • Resolved: 2018-02-02
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 b01Fixed
Related Reports
Relates :  
Description
The test

   langtools/tools/javac/modules/JavaBaseTest.java

assumes --release is supported to the the current version value, which isn't necessarily the case. Until an API exists to lists the current set of --release alternatives ( JDK-8196618), one way in increase the utility of the test is to no explicitly use a --release value for the current release.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/compiler-dev/2018-February/011629.html
02-02-2018