disposing a class loader

Posted by java_geek on Stack Overflow See other posts from Stack Overflow or by java_geek
Published on 2010-03-31T10:52:26Z Indexed on 2010/03/31 11:03 UTC
Read the original article Hit count: 289

I am using a custom class loader which extends URLClassLoader. I load some classes into my custom class loader and perform some task. Once the task is completed i want to dispose of the class loader. I tried doing that by setting the reference to null.

But this does not garbage collect the class loader.

Is there a way that can help what i want to achieve?

© Stack Overflow or respective owner

Related posts about java

Related posts about classloader