diff options
author | paulby <[email protected]> | 2004-10-11 20:23:06 +0000 |
---|---|---|
committer | paulby <[email protected]> | 2004-10-11 20:23:06 +0000 |
commit | 6c3b8127b4ee276918bd7eccb7b27204cedfb155 (patch) | |
tree | 04f80ccb7ec9bcec81fda1b5028f1dd2c792dfef /src/classes/share/com | |
parent | 77d379b8f8ea0bc825cad54ec02f2be47d0873d5 (diff) |
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
Diffstat (limited to 'src/classes/share/com')
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java | 8 |
1 files changed, 8 insertions, 0 deletions
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(); /** |