[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-5895; Processing too many classes

adrian@jboss.org do-not-reply at jboss.com
Mon Sep 15 09:36:09 EDT 2008


Ok. so the solutions seems obvious to me.
I don't see the point of trying to fix a hack with another hack.

The original problem comes about because the old UCL added the root of
the ear to the classpath. This was a mistake, and was only done for debugging
purposes, i.e. to print the ear url in the toString() of the classloader.

We still do it for backwards compatiblity purposes, but now it is causing problems
for the annotation scanning.

So why don't we just turn it off?

If somebody really wants the old behaviour they can enable it.
But since it is not portable behaviour, it would be better for them to fix the packaging
anyway.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176509#4176509

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176509



More information about the jboss-dev-forums mailing list