java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently in CI, especially in MacOS machines. Also the frame created in this test is not disposed which may interfere with other tests.
Fix: Some stabilisations added and the frame is disposed properly. Testing: Tested 100 times per platform(macosx-x64,macosx-aarch64,windows-x64,linux-x64) and got all PASS. ------------- Commit messages: - 8288471: java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently in CI Changes: https://git.openjdk.org/jdk/pull/24292/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24292&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8288471 Stats: 50 lines in 1 file changed: 24 ins; 2 del; 24 mod Patch: https://git.openjdk.org/jdk/pull/24292.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24292/head:pull/24292 PR: https://git.openjdk.org/jdk/pull/24292