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

Kumar Srinivasan kumar.x.srinivasan at oracle.COM
Tue Jan 17 16:33:14 PST 2012


Hi Joe, Anthony,

Please see inlined comments....
> 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.

Yes I agree, a ccc needs to be filed asap, and IMO the awt team should
be filing this, as they are aware of all the nuances of these flags.

Thanks
Kumar

>
> Cheers,
>
> -Joe
>




More information about the jdk7u-dev mailing list