> Test test/jdk/java/awt/Mouse/MouseModifiersUnitTest/ExtraButtonDrag.java left > debris on system whenever fails its required frame.dispose() in finally block. > > > finally { > EventQueue.invokeAndWait(ExtraButtonDrag::disposeFrame); > } > public static void disposeFrame() { > if (frame != null) { > frame.dispose(); > frame = null; > } > }
Ravi Gupta has updated the pull request incrementally with one additional commit since the last revision: 8361067: EventQueue.invokeAndWait used ------------- Changes: - all: https://git.openjdk.org/jdk/pull/26043/files - new: https://git.openjdk.org/jdk/pull/26043/files/db5a1913..1a2cb6e0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=26043&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26043&range=00-01 Stats: 17 lines in 1 file changed: 9 ins; 5 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/26043.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26043/head:pull/26043 PR: https://git.openjdk.org/jdk/pull/26043