<AWT Dev> hg: jdk8/awt/jdk: 6995769: occasion NPE thrown from SwingUtilities.computeIntersection()
Roman Kennke
roman at kennke.org
Thu Jul 28 11:38:14 PDT 2011
I should add that this is a retarded testcase, but at least minimal and
fairly reliable.
I have seen this problem in the real world, where it was only blowing up
very unreliably (preferably it happens in production of course), and
when it did, it was *very* difficult to reproduce and debug. It would
help a ton if it would blow up early to save headaches.
Cheers, Roman
Am Donnerstag, den 28.07.2011, 20:34 +0200 schrieb Roman Kennke:
> 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
>
More information about the awt-dev
mailing list