RFR: 8288471: java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently in CI [v5]

Manukumar V S mvs at openjdk.org
Fri May 2 10:49:03 UTC 2025


> 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.
> I have also tested this on Windows-x64 with JDK 8u60b04 and JDK 8u60b20 as the original issue related to this test(JDK-8077409) was fixed in JDK 8u60b20.
> With JDK 8u60b04:
> Exception in thread "main" java.lang.RuntimeException: Wrong position of component in ScrollPane
>         at bug8077409Test.main(bug8077409Test.java:142)
> 
> With JDK 8u60b20:
> Passed.....

Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:

  Review comments fixed : Formatting changes, added @override

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24292/files
  - new: https://git.openjdk.org/jdk/pull/24292/files/13d1deeb..58349b9a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24292&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24292&range=03-04

  Stats: 10 lines in 1 file changed: 2 ins; 8 del; 0 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


More information about the client-libs-dev mailing list