"os.arch" value should be "x86_64"

Kirk Pepperdine kirk at kodewerk.com
Fri Mar 23 03:31:40 PDT 2012


Hi all,

Can I assume that the os.arch error has been fixed?

java.runtime.version=1.7.0_04-ea-b225
java.version=1.7.0_04-ea
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.version=23.0-b09
jdk.home=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home

=====>>>> os.arch=amd64 <<<<<=========

os.name=Mac OS X
os.version=10.7.3
sun.arch.data.model=64

Regards,
Kirk



On 2012-03-23, at 8:30 AM, daniel.daugherty at oracle.com wrote:

> Changeset: ad5eb0a72fb1
> Author:    jmelvin
> Date:      2012-03-22 23:51 -0400
> URL:       http://hg.openjdk.java.net/hsx/hsx23/hotspot/rev/ad5eb0a72fb1
> 
> 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().
> Reviewed-by: dcubed, phh, ohair, katleman
> 
> ! agent/src/share/classes/sun/jvm/hotspot/jdi/ConnectorImpl.java
> ! agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
> 



More information about the hotspot-dev mailing list