Yes that is intentional. That class loader is for RMI class loading. There
was a change recently made to allow for general class loading when the
format of the requested class does not include class loader key. See
the latest cvs code.

----- Original Message -----
From: "David Green" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 9:43 PM
Subject: [JBoss-dev] Webserver Bug?


>
> Is this intentional?
>
>                 int separator = rawPath.indexOf('/');
>                 String filePath = rawPath.substring(separator+1);
>                 String loaderKey = rawPath.substring(0, separator+1);
> ....
>                 ClassLoader loader = (ClassLoader)
loaderMap.get(loaderKey);
>
> According to the log, my JVM tried to look up
> org/xml/sax/SAXException.class. So it throught that "org/" was the
> loaderKey and "xml/sax/SAXException.class" was the class name.
>
> Additionally, Shouldn't this line read:
>
>                 String loaderKey = rawPath.substring(0, separator);
>
> Please let me know if it is a bug, so I can stop trying to fix it on the
> client side.
>
> Thanks,
>
> David Green
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>


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

Reply via email to