--- old/makefiles/Images.gmk 2013-02-22 16:18:18.711382002 -0500 +++ new/makefiles/Images.gmk 2013-02-22 16:18:18.095382002 -0500 @@ -602,6 +602,7 @@ $(call info-file-item, "OS_NAME", "$(REQUIRED_OS_NAME)") $(call info-file-item, "OS_VERSION", "$(REQUIRED_OS_VERSION)") $(call info-file-item, "OS_ARCH", "$(OPENJDK_TARGET_CPU_LEGACY)") + if [ -n "$(JDK_ARCH_ABI_PROP_NAME)" ]; then $(call info-file-item, "SUN_ARCH_ABI", "$(JDK_ARCH_ABI_PROP_NAME)"); fi $(call info-file-item, "SOURCE", "$(ALL_SOURCE_TIPS)") endef --- old/src/share/native/java/lang/System.c 2013-02-22 16:18:20.895382002 -0500 +++ new/src/share/native/java/lang/System.c 2013-02-22 16:18:20.167382002 -0500 @@ -212,6 +212,10 @@ PUTPROP(props, "os.version", sprops->os_version); PUTPROP(props, "os.arch", sprops->os_arch); +#ifdef JDK_ARCH_ABI_PROP_NAME + PUTPROP(props, "sun.arch.abi", sprops->sun_arch_abi); +#endif + /* file system properties */ PUTPROP(props, "file.separator", sprops->file_separator); PUTPROP(props, "path.separator", sprops->path_separator); --- old/src/share/native/java/lang/java_props.h 2013-02-22 16:18:23.491382002 -0500 +++ new/src/share/native/java/lang/java_props.h 2013-02-22 16:18:22.167382002 -0500 @@ -41,6 +41,10 @@ char *os_version; char *os_arch; +#ifdef JDK_ARCH_ABI_PROP_NAME + char *sun_arch_abi; +#endif + nchar *tmp_dir; nchar *font_dir; nchar *user_dir; --- old/src/solaris/native/java/lang/java_props_md.c 2013-02-22 16:18:25.739382001 -0500 +++ new/src/solaris/native/java/lang/java_props_md.c 2013-02-22 16:18:24.679382002 -0500 @@ -514,6 +514,11 @@ } } + /* ABI property (optional) */ +#ifdef JDK_ARCH_ABI_PROP_NAME + sprops.sun_arch_abi = JDK_ARCH_ABI_PROP_NAME; +#endif + /* Determine the language, country, variant, and encoding from the host, * and store these in the user.language, user.country, user.variant and * file.encoding system properties. */