Hi Jules (Oleg!),
just seeing your code line and guessing that it serves to support jasper
with the right classpath for compilation ...
I remember a (reasonable) patch that Oleg did yesterday and that lets the
new unified classloaders return null for getURLs() in order to reduce the
annotation noise on rmi�s marshal-streams.
Couldn�t this cause problems for jsp-compilation? I am not sure about all
the places where the unified cl�s are currently used and how they are
wrapped by "traditional" URLCLassLoaders that still return some location
information ...
Btw: We got rid of the location annotation by using our own MarshalledObject
implementation that uses subclasses of
MarshalledObject{InputStream/OutputStream} with annotateClass(Class) and
readLocation() methods disabled. This does not require to change the
getURL() method. IMHO this is cleaner.
Best,
CGJ ("Dr. Schorsch")
Currently spinnin� all-time soul classic: Ursula Rucker, "Supa Sista"
-----Urspr�ngliche Nachricht-----
Von: Jules Gosnell [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 4. Februar 2002 22:18
An: [EMAIL PROTECTED]
Betreff: [JBoss-dev] CVS update: contrib/jetty/src/main/org/jboss/jetty
JBossWebApplicationContext.java
if (cl instanceof URLClassLoader)
{
URL[] urls=((URLClassLoader)cl).getURLs();
- for (int i=0; i<urls.length; i++)
+ for (int i=0; urls!=null && i<urls.length; i++)
{
URL url=urls[i];
if (url.getProtocol().equals("file"))
_______________________________________________
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