Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BSD Java 6 Preview Release 2




On Nov 26, 2007, at 2:07 PM, Fabrizio Giudici wrote:


On Nov 26, 2007, at 20:35 , Fabrizio Giudici wrote:



It works... :-) see you later on my blog.


Made some experiments, details here: http://weblogs.java.net/blog/fabriziogiudici/archive/2007/11/wow_landon_it_s.html - pretty good work for now!

Cool! I think blueMarine is the most extensive Swing app I've seen tested -- more so than Puzzle Pirates.

Landon, I think one of the most annoying problems (probably preventing NetBeans from running the current project unless you start it with a script) is that SoyLatte's java VM just quits if it gets the -Xdock:*** options - and of course, Mac OS X applications often use them. What about accepting them, perhaps printing on the console that they are currently not supported?

Sure -- I've committed this here:

I didn't add the other Mac OS X-specific option, -XX:+UseFileLocking. It enables the use of Carbon file locking on Apple's VM -- if requested, shouldn't be a no-op.

For the rest, I had some expected troubles with the imaging APIs. This is something to be fixed in my application - I need to be able to distinguish the Apple VM from SoyLatte, which is the best option? Testing java.vm.vendor or java.vm.name, perhaps?

I think checking for 'Apple' in java.vm.vendor is the safest option.

At last, the application wasn't able to run JOGL. I think it's a problem with loading the native libraries. What library name is SoyLatte searching for, .so or .dylib?

Currently, it searches for lib<name>.dylib. I just added .jnilib as a fallback:

I have to admit that I don't really like this solution. It is straight-forward to load .jnilib instead of .dylib, but the build system widely assumes that all libraries will use the same suffix, and can be both linked and dlopen()'d.
I've marked the change as needing further review, for now.

-landonf
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: BSD Java 6 Preview Release 2 (From: "Valerio Schiavoni" <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Landon Fuller <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Raymond Martin <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Fabrizio Giudici <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Fabrizio Giudici <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Ian Michell <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Fabrizio Giudici <email@hidden>)
 >Re: BSD Java 6 Preview Release 2 (From: Fabrizio Giudici <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.