On Thu, 21 Feb 2002, Hiram Chirino wrote:
> User: chirino
> Date: 02/02/21 15:17:00
>
> Modified: src/main/org/jboss/system UnifiedClassLoader.java
> Log:
> Adding new Boot class that helps out with creating a embedable JBoss app server.
> embedable in the small footprint sense and enbedable in the integrate with an
>existing app sense.
>
> Revision Changes Path
> 1.8 +2 -2 jboss/src/main/org/jboss/system/UnifiedClassLoader.java
>
> Index: UnifiedClassLoader.java
> ===================================================================
> RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/system/UnifiedClassLoader.java,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -r1.7 -r1.8
> --- UnifiedClassLoader.java 17 Feb 2002 21:40:15 -0000 1.7
> +++ UnifiedClassLoader.java 21 Feb 2002 23:17:00 -0000 1.8
> @@ -20,7 +20,7 @@
> * @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
> * @author <a href="[EMAIL PROTECTED]">Christoph G. Jung</a>
> * @author <a href="[EMAIL PROTECTED]">Scott Stark/a>
> - * @version $Revision: 1.7 $
> + * @version $Revision: 1.8 $
> *
> * <p><b>20010830 marc fleury:</b>
> * <ul>
> @@ -56,7 +56,7 @@
> */
> public UnifiedClassLoader(URL url)
> {
> - super(new URL[] {url});
> + super(new URL[] {url}, UnifiedClassLoader.class.getClassLoader());
Wouldn't getClass().getClassLoader() be better here?
It would allow for the case where UnifiedClassLoader is extended by sub
classes.
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development