7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Apr 19 10:07:02 PDT 2012
Alan,
In a previous message relating to jtreg, Mike Swingler wrote:
> The appropriate checks are:
>
> In Java: osName.contains("OS X")
> In shell: uname -s == Darwin
>
-- Jon
On 04/19/2012 09:56 AM, Alan Bateman wrote:
>
> Jim - I see this changes lots of places to look for "OS X" in the
> value of the os.name property, up until now the check was to see if
> the os.name value starts with "Mac OS". Was this change necessary? I
> was following the discussion on the os.arch change but missed the
> discussion on os.name. I'm mostly curious to know if something was
> actually broken.
>
> -Alan
>
>
> On 19/04/2012 16:07, coleen.phillimore at oracle.com wrote:
>> Changeset: 77b35c5c4b95
>> Author: jmelvin
>> Date: 2012-04-16 18:09 -0400
>> URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/77b35c5c4b95
>>
>> 7130404: [macosx] "os.arch" value should be "x86_64" for
>> compatibility with Apple JDK6
>> Summary: On Mac OS X, align system property "os.arch" with Apple
>> legacy JDKs. Also, improve os.name string matching by using
>> .contains() method instead of .startsWith(). This fix spans multiple
>> repositories.
>> Reviewed-by: dcubed, phh, ohair, katleman
>>
>>
> <snip>
>
More information about the macosx-port-dev
mailing list