[jboss-dev-forums] [Design of POJO Server] - Re: Caching of classes in BaseClassLoaderDomain

bstansberry@jboss.com do-not-reply at jboss.com
Tue Apr 28 12:59:43 EDT 2009


Just to experiment I wrapped the call to BaseClassLoader.checkCacheAndBlackList in a try/catch and caught the CNFE. The AS starts clean and the smoke tests pass. A mvn install in the jboss-cl codebase shows 3 tests with errors, but those were there before I made the change as well.

Looking at the actual usage, the catch could also be inside checkCacheAndBlackList itself, but that's a protected method that declares the exception in its signature.

I'm not committing this as you may have other thoughts and if not it's trivial.

Now running classloader leak tests...

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

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



More information about the jboss-dev-forums mailing list