United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7034133 cleanup obsolete option handling
JDK-7034133 : cleanup obsolete option handling

Details
Type:
Enhancement
Submit Date:
2011-04-05
Status:
Closed
Updated Date:
2011-07-29
Project Name:
JDK
Resolved Date:
2011-05-10
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
hs21 (b10)

Related Reports
Backport:

Sub Tasks

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

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
                                     
2011-04-05
EVALUATION

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

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



Hardware and Software, Engineered to Work Together