On 6/8/2016 5:43 PM, Sergey Bylokhov wrote:
Why it should be removed? I am not sure but is the null classloader is a bootclassloader?
Yes, null class loader is a bootstrap class loader.
I think if someone will pass null as classloader it expect to remove an old one and use bootclassloader, it will be unexpected behavior if late class will be loader with the old class loader that should be removed:

testcase was fixed, all code was wrapped into SwingUtils.invokeAndWait:
http://cr.openjdk.java.net/~mcherkas/8158734/9/webrev.03

Reply via email to