JDK-8233940 : Preview API tests for String methods should use ${jdk.version} as -source arg
Type:Bug
Component:core-libs
Sub-Component:java.lang
Affected Version:14
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2019-11-11
Updated:2019-11-18
Resolved:2019-11-12
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 remove the need to modify tests when the version is updated, the tests of the preview API in String should use ${jdk.version} as an argument to -source rather than a fixed version.