Java 7 on OS X Snow Leopard

Christian Thalinger christian.thalinger at oracle.com
Thu Jul 22 01:09:20 PDT 2010


On Mon, 2010-07-19 at 20:39 -0500, Michael Hall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>  From googling I guess this is Java 7 on OS X Snow Leopard again. It  
> seemed this has been discussed and resolved on this list before.
> I recently got curious about trying some Java 7 features so I tried  
> to do a openjdk build as detailed here...
> Building OpenJDK for Mac OS X 10.6 (Snow Leopard) | java rants
> http://www.javarants.com/2009/11/01/building-openjdk-1-7-0-for-mac-os- 
> x-10-6-snow-leopard/
> 
> With the 32 bit Soylatte.
> 
> My first problem as I remember was compile errors due to something  
> ambiguous related to pointer types and a movptr macro.
> Google seemed to indicate that this was an Apple difference in a type  
> being 64 bit no longer being castable with 32 bit pointer types.
> 
> More googling turned up a openjdk changeset that seemed to apply.
> http://hg.openjdk.java.net/jdk6/jdk6/hotspot/rev/db4caa99ef11

OK, let's start from scratch again.  Why do you need that patch?  It's
already in JDK7:

http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/db4caa99ef11

And thus should also be in bsd-port.  Indeed:

http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/db4caa99ef11

-- Christian




More information about the bsd-port-dev mailing list