/[classpath]/classpath/gnu/javax/rmi/CORBA/DelegateFactory.java
ViewVC logotype

Diff of /classpath/gnu/javax/rmi/CORBA/DelegateFactory.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by audriusa, Sun Oct 2 19:58:01 2005 UTC revision 1.6 by audriusa, Thu Oct 13 20:58:54 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.javax.rmi.CORBA;  package gnu.javax.rmi.CORBA;
40    
41    import gnu.CORBA.ObjectCreator;
42    
43    
44  /**  /**
45   * This class produces delegates, using the system properties. If not   * This class produces delegates, using the system properties. If not
# Line 91  public class DelegateFactory Line 93  public class DelegateFactory
93        }        }
94      try      try
95        {        {
96          Class dclass = Class.forName(dcname, true,          Class dclass = ObjectCreator.forName(dcname);
           Thread.currentThread().getContextClassLoader());  
97          return dclass.newInstance();          return dclass.newInstance();
98        }        }
99      catch (Exception e)      catch (Exception e)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26