Request for Review: 6775145

Alan Bateman Alan.Bateman at Sun.COM
Wed Mar 4 03:28:19 PST 2009


Christopher Hegarty - Sun Microsystems Ireland wrote:
> Hi Michael, Jessie,
>
> Please take a few moments to review this trivial change:
>
>    http://cr.openjdk.java.net/~chegar/6775145/webrev.00/webrev/
>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6775145
>
>    6775145: ClassLoaderUtil.releaseLoader calls System.out.println
>             ("classLoader = " + classLoader)
>
> Very trivial changes - remove System.out debugging statements
>
> Thanks,
> -Chris.
As I recall, Michael added the sun.misc.ClassLoader#releaseLoader 
methods to stop the death threats from the app servers :-)  As 
URLClassLoader has since been retrofitted to implement Closeable then I 
assume they won't be needed in the future.  They can't be removed of 
course but perhaps they can be deprecated with a comment to use 
URLClassLoader#close instead. Michael?

-Alan.



More information about the net-dev mailing list