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)
------------- Commit messages: - Update Test7024235.java - Initial fix Changes: https://git.openjdk.java.net/jdk/pull/852/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=852&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8028281 Stats: 20 lines in 2 files changed: 8 ins; 7 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/852.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/852/head:pull/852 PR: https://git.openjdk.java.net/jdk/pull/852