JDK-8280235 : Deprecated flag FlightRecorder missing from VMDeprecatedOptions test
Type:Bug
Component:hotspot
Sub-Component:jfr
Affected Version:19
Priority:P5
Status:Open
Resolution:Unresolved
Submitted:2022-01-19
Updated:2022-06-10
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.
FlightRecorder was deprecated in JDK-8224139, however it was never added to the test
test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
Comments
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk/pull/9123
Date: 2022-06-10 10:20:38 +0000
10-06-2022
This is correct, it should have been added to the test back in JDK 13 when the change was made. Not sure it is worthwhile retrofitting this though. The main purpose of adding to the VMDeprecatedOptions test is to validate newly deprecated flags.
On a related note though should FlightRecorder finally be obsoleted and targeted for removal?