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

Sergey Bylokhov serb at openjdk.org
Tue Apr 29 20:30:50 UTC 2025


On Mon, 28 Apr 2025 09:32:26 GMT, Manukumar V S <mvs at openjdk.org> wrote:

>> 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 : Removed unwanted code and updated copyright year

Marked as reviewed by serb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24292#pullrequestreview-2804989563


More information about the client-libs-dev mailing list