On Sun, 25 Oct 2020 06:27:05 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> The test fails because of a missed null check for the next method:
> https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JTabbedPane.html#getBoundsAt(int)

test/jdk/javax/swing/JTabbedPane/7024235/Test7024235.java line 79:

> 77:             this.pane.addTab("3", new JCheckBox());
> 78: 
> 79:             JFrame frame = new JFrame();

I guess the frame needs to be disposed in finally block.

-------------

PR: https://git.openjdk.java.net/jdk/pull/852

Reply via email to