[7ux-osx] Please review: 7124089: launcher refactoring

Joseph Darcy joe.darcy at oracle.com
Tue Jan 17 16:03:20 PST 2012


Hello,

On 1/17/2012 8:35 AM, Kumar Srinivasan wrote:
> Hi Anthony,
>
>>
>> src/share/bin/java.c
>>>  987         } else if (IsMacOSX() && JLI_StrCmp(arg, 
>>> "-XstartOnFirstThread") == 0) {
>>>  988             ProcessSpecialArg(arg);
>>>  989         } else if (IsMacOSX() && JLI_StrCCmp(arg, "-Xdock:") == 
>>> 0) {
>>>  990             ProcessSpecialArg(arg);
> If we don't have those runtime checks then Windows,
> Linux and Solaris will accept those flags without a fuss, so what 
> should the behavior be ?
>
> Was a specification (ccc) filed for these flags ? Will this be 
> documented in the help
> section ? though X flags are unsupported, in the past we have 
> documented them, both
> in the man pages as well as "java -X", if these will be left 
> undocumented should we take
> the vm approach and mark it -XX ?

Yes, we should have ccc requests to cover any new flags and any 
platform-specific flags.

If a flag is generally sensible, I'd prefer to see the flag supported 
across platforms.

Cheers,

-Joe




More information about the jdk7u-dev mailing list