diff options
author | Kevin Rushforth <[email protected]> | 2004-09-08 00:42:36 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2004-09-08 00:42:36 +0000 |
commit | abb9489b35e0549adc7eaa39e624ff726a5718fd (patch) | |
tree | 04bb19706278d28f2c4834f358475ddd18c9cc29 /src/classes/share/com | |
parent | 0dd0ceaf9f780d4d8877c747f53630a2622e7817 (diff) |
Fixed use of ClassLoader for webstart release
git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@19 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 | 6 | ||||
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/SceneGraphObjectState.java | 2 |
2 files changed, 4 insertions, 4 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 196ec41..1b80b2d 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 @@ -205,7 +205,7 @@ public abstract class Controller extends java.lang.Object { SceneGraphObjectState ret; try { - Class state = Class.forName( "com.sun.j3d.utils.scenegraph.io.state."+name+"State", true, classLoader ); + Class state = Class.forName( "com.sun.j3d.utils.scenegraph.io.state."+name+"State" ); ret = constructStateObj( symbol, state, obj.getClass() ); } catch(ClassNotFoundException e) { ret = checkSuperClasses( symbol ); @@ -268,7 +268,7 @@ public abstract class Controller extends java.lang.Object { String name = cl.getName(); //System.out.println("Got superclass "+name); try { - state = Class.forName( "com.sun.j3d.utils.scenegraph.io.state."+name+"State", true, classLoader ); + state = Class.forName( "com.sun.j3d.utils.scenegraph.io.state."+name+"State" ); } catch(ClassNotFoundException e) { state = null; } @@ -519,7 +519,7 @@ public abstract class Controller extends java.lang.Object { SceneGraphObjectState stateObj = null; try { - Class stateClass = Class.forName( stateClassName, true, ClassLoader.getSystemClassLoader() ); + Class stateClass = Class.forName( stateClassName ); Constructor stateConstructor = stateClass.getConstructor( new Class[] { SymbolTableData.class, Controller.class } ); stateObj = (SceneGraphObjectState)stateConstructor.newInstance( new Object[] { null, this } ); } catch( Exception e ) { diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/SceneGraphObjectState.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/SceneGraphObjectState.java index 0dc864d..767ea5e 100644 --- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/SceneGraphObjectState.java +++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/SceneGraphObjectState.java @@ -332,7 +332,7 @@ public abstract class SceneGraphObjectState { System.err.println("Unable to create node "+className+" attempting Java3D superclass "+superClass ); try { - Class state = Class.forName( superClass, true, control.getClassLoader() ); + Class state = Class.forName( superClass ); ret = (SceneGraphObject)state.newInstance(); |