<AWT Dev> hg: jdk8/awt/jdk: 6995769: occasion NPE thrown from SwingUtilities.computeIntersection()

Roman Kennke roman at kennke.org
Thu Jul 28 11:34:49 PDT 2011


Find attached a testcase. Upon running, this will bring up a small frame
and a JOptionPane. None of them renders for me, but after some blind
clicking in the option pane it throws exactly this NPE.

Regards, Roman


Am Donnerstag, den 28.07.2011, 20:22 +0200 schrieb Mario Torre:
> 2011/7/28 Artem Ananiev <artem.ananiev at oracle.com>:
> >
> > +1
> 
> Yeah, I agree with Roman, IllegalStateException sounds like the
> perfect option to me.
> 
> Cheers,
> Mario

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestRMNPE.java
Type: text/x-java
Size: 499 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20110728/bca8a61e/TestRMNPE.java 


More information about the awt-dev mailing list