JDK-8136387 : Exit status is 0 but should be 1 when invalid -XX:TargetSurvivorRatio is specified
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:9
Priority:P4
Status:Closed
Resolution:Duplicate
Submitted:2015-09-11
Updated:2015-09-20
Resolved:2015-09-20
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.
The tests specifies the invalid argument -XX:TargetSurvivorRatio=-1.
An error message is printed but the exit status is 0 instead of 1.
Comments
Yes, this is the next victim of JDK-8129855. I'd like to keep this CR opened and close it when 8129855 will be fixed.
14-09-2015
This is a known issue. -XX:+IgnoreUnrecognizedVMOptions hides out-of-range values. This issue is tracked by: https://bugs.openjdk.java.net/browse/JDK-8129855
Thus, I think that this bug can be closed as "Duplicate"