avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/launcher Main.java
Date Thu, 21 Mar 2002 08:55:46 GMT
donaldp     02/03/21 00:55:46

  Modified:    src/java/org/apache/avalon/phoenix/launcher Main.java
  Log:
  Stuff some various classloaders into data map to pass to the newly created program.
  
  Revision  Changes    Path
  1.11      +3 -0      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/launcher/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/launcher/Main.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Main.java	16 Mar 2002 00:11:55 -0000	1.10
  +++ Main.java	21 Mar 2002 08:55:46 -0000	1.11
  @@ -74,6 +74,9 @@
               final URL archive = mainJar.toURL();
               final URLClassLoader classLoader = new URLClassLoader( new URL[]{archive} );
   
  +            data.put( "common.classloader", ClassLoader.getSystemClassLoader() );
  +            data.put( "container.classloader", classLoader );
  +
               //Setup context classloader
               Thread.currentThread().setContextClassLoader( classLoader );
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message