From 6c3b8127b4ee276918bd7eccb7b27204cedfb155 Mon Sep 17 00:00:00 2001 From: paulby Date: Mon, 11 Oct 2004 20:23:06 +0000 Subject: Add comment about classloader Issue number: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@24 9497e636-51bd-65ba-982d-a4982e1767a5 --- .../com/sun/j3d/utils/scenegraph/io/retained/Controller.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/classes/share/com') diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java index 1b80b2d..6d92371 100644 --- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java +++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java @@ -115,6 +115,14 @@ public abstract class Controller extends java.lang.Object { */ protected int outputFileVersion = 2; + /** + * When running the application within webstart this may not be the + * correct ClassLoader. If Java 3D is not installed in the local vm and + * is instead installed by webstart then this definitely is NOT the correct + * classloader, in this case Thread.getCurrent().getClass().getClassLoader() + * would probably be a good default. The user can also set their preferred + * classloader by calling setClassLoader in SceneGraph[Stream|File]Reader. + */ protected ClassLoader classLoader = ClassLoader.getSystemClassLoader(); /** -- cgit v1.2.3