<Swing Dev> [9] Review request for 8158734 JEditorPane.createEditorKitForContentType throws NPE after 6882559
mikhail cherkasov
mikhail.cherkasov at oracle.com
Wed Jun 8 14:57:37 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160608/448bbfbf/attachment.html>
More information about the swing-dev
mailing list