I tested the new Java 1.5.0_16 version released yesterday, and
miserably I've got a regression on Java Web Start version of Sweet
Home 3D available at http://sweethome3d.sourceforge.net/SweetHome3D.jnlp
On a MacBook Core Duo and an Imac G5, some resource files aren't found
and some belonging to the same JAR are found! But on an iMac Core 2
Duo, everything works fine (with Java 5 as default Java version for
applications).
You may test this bug easily in Sweet Home 3D : images are not found
in help pages, meaning JEditorPane can't resolve relative paths, and
furniture added to home appears as red in 3D view at bottom right,
meaning the URL of the 3D model couldn't be resolved. On the contrary,
in furniture tree, the furniture icons are correctly displayed even if
the URL of these images are built the same way as the URL of the 3D
models ?!?
These URLs are built with Class#getResource method (then they are
handled by instances of JNLPCachedJarURLConnection in Java Web Start).
And one very astonishing thing is that these URLs don't mention any
file and don't have a ! separator.
For example, an URL is "jar:com/eteks/sweethome3d/io/resources/
door.obj" instead of "jar:file:/Users/manu/Developer/Java/SweetHome3D/
deploy/lib/SweetHome3D.jar!/com/eteks/sweethome3d/io/resources/
door.obj".
By the way, I noticed also that "sun.swing.enableImprovedDragGesture"
property doesn't work on an iMac Core 2 Duo / Java 5, but works on a
MacBook Core Duo. :-(
Are the Intel 32 bit / Intel 64 bits versions so different ???
Best regards
--
Emmanuel PUYBARET
Email : email@hidden
Web : http://www.eteks.com
_______________________________________________
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