What about proposing your changes as a patch to SUN? In that spirit, we
could
also present the synchronisation problem of
java.lang.ClassLoader.loadClassInternal() ...

I fear that the probability of getting something like this through may be
minimal,
but maybe we should at least try it, shouldn´t we?

Anyone has an idea in which form? Bug report?

CGJ

-----Ursprüngliche Nachricht-----
Von: Andreas Schaefer [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 29. November 2001 23:19
An: Scott M Stark
Cc: [EMAIL PROTECTED]
Betreff: [JBoss-dev] Re: URLClassLoader with Unlocking


Hi Scott

You are write WE CAN FORGET this. Whenever someone is using
the old URLClassLoader even with the new one as parent loading of Resources
locks the archive 8-(.

Sorry - Andy

----- Original Message -----
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: "Andreas Schaefer" <[EMAIL PROTECTED]>
Cc: "marc fleury" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 12:46 PM
Subject: Re: URLClassLoader with Unlocking


> Are you replacing java.net.URLClassLoader, sun.misc.URLClassPath? If 
> you are, this is in violation of the JDK usage license and may not 
> work with non-SUN VMs as they can choose an alternate internal 
> implementation of java.net.URLClassLoader that does not use 
> sun.misc.URLClassPath.
>
> The question about using this class as a parent class loader was not 
> about class loading working. It was about having the child class 
> loader having the same locking problem that your trying to solve. If a 
> web container creates a class loader that delegates to the custom 
> JBoss one and it does not clean up its locks then we have not solved 
> the problem.
>
>
> ----- Original Message -----
> From: "Andreas Schaefer" <[EMAIL PROTECTED]>
> To: "Scott M Stark" <[EMAIL PROTECTED]>
> Cc: "marc fleury" <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 12:31 PM
> Subject: URLClassLoader with Unlocking
>
>
> > Hi Geeks
> >
> > I made the unlocking happening and would like to know
> > if (with regards to License problems):
> > - I should rewrite URLClassLoader / URLClassPath
> >   because right know I just took the code and added
> >   the close() methods
> > - I should just add it to CVS as is to test
> >
> > Thanx
> >
> > xxxxxxxxxxxxxxxxx
> > Andreas Schaefer
> > Senior Consultant
> > JBoss Group, LLC
> > xxxxxxxxxxxxxxxxx
> >
> >
>


_______________________________________________
Jboss-development mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to