RFR: 8034853 remove sun.misc.ClassLoaderUtil

Mandy Chung mandy.chung at oracle.com
Fri Feb 14 21:44:56 UTC 2014

On 2/14/14 10:31 AM, Michael McMahon wrote:
> On 14/02/14 18:20, Alan Bateman wrote:
>> On 14/02/2014 17:42, Michael McMahon wrote:
>>> Could I get the following change reviewed please?
>>> http://cr.openjdk.java.net/~michaelm/8034853/webrev.1/
>>> The change is to remove the class sun.misc.ClassLoaderUtil.
>>> The functionality provided by this class is now in the public
>>> java.net.URLClassloader.close() method.
>> The removal is good. Maybe the test should be moved to URLClassLoader 
>> as it doesn't make sense to have it in ClassLoaderUtil anymore.
>> -Alan.
> I think I'd probably just delete the test since URLClassLoader.close 
> has its own tests,

The change looks good to me.  I think URLClassLoader/closetest test 
covers this case already.  I agree with Alan that you can simply delete 
this old test.


More information about the core-libs-dev mailing list