diff options
-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(); |