Review OSX universal mode patch

Henri Gomez henri.gomez at gmail.com
Thu May 10 01:34:05 PDT 2012


> Hi Henri,

Hello David

> The setting of the os.arch property in
> src/solaris/native/java/lang/java_props_md.c should be handled by setting
> ARCHPROP appropriately in jdk/make/common/Platform.gmk, not by ifdefs in the
> C file.

yes, but ARCHPROP is set to universal so 32 and 64 builds are performed.
So there is really 2 copy of
src/solaris/native/java/lang/java_props_md.c in binary, one for 32bits
and one for 64bits.

Note, it was the way macosx-port did it before all universal support
was removed in jdk7 branch ;(

> Can't comment on anything else as I don't grok this "universal" build
> business.

May be Mike or Scott, OSX experts, may take a look.

This feature is highly awaited by OSX users, they used to have a dual mode VM.

Simple question, did there is any interest here to support universal VM on OSX ?

If not, I'll continue to maintain this patch and produce packages in
such mode, but I think we all agree that It won't be good for OpenJDK
for OSX to have various distributions with different behaviors and
functionalities.



More information about the jdk7u-dev mailing list