JDK-7034133 : cleanup obsolete option handling
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-04-05
  • Updated: 2011-07-29
  • Resolved: 2011-05-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.

To download the current JDK release, click here.
JDK 7 Other
7Fixed hs21Fixed
Description
The arg processing code that handles obsolete options could use some minor cleanup so that it's more consistent and the message is clearer.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/9c4f56ff88e9
23-04-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/9c4f56ff88e9
08-04-2011

EVALUATION Suppress the message about obsolete options when unrecognized options are being ignored; use warning() to display the message; avoid the use of "EOL'd"; omit the flag character (+/-) when printing boolean option names. Sample output: Before: Warning: The flag +HandlePromotionFailure has been EOL'd as of 6.0_24 and will be ignored After: Java HotSpot(TM) Client VM warning: ignoring option HandlePromotionFailure; support was removed in 6.0_24
05-04-2011