<Swing Dev> [9] Review request for 8158734 JEditorPane.createEditorKitForContentType throws NPE after 6882559

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jun 7 19:51:09 UTC 2016


HI, Mikhail.
Can you please clarify the reason of usage Optional here if the optional 
itself can be null?

On 07.06.16 22:05, mikhail cherkasov wrote:
> Hello,
>
> Could you please review the fix for:
> https://bugs.openjdk.java.net/browse/JDK-8158734
>  webrev: http://cr.openjdk.java.net/~mcherkas/8158734/9/webrev.00/
>
> A simple null check was added.
>
> Thanks,
> Mikhail.
>
>


-- 
Best regards, Sergey.



More information about the swing-dev mailing list