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

Sergey Bylokhov serb at openjdk.org
Fri Apr 11 04:14:31 UTC 2025


On Sat, 5 Apr 2025 11:52:19 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.
>
> Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review comments fixed : Formatting changes

test/jdk/java/awt/ScrollPane/bug8077409Test.java line 130:

> 128:       robot.delay(300);
> 129:       if (y != obj.pane.getComponent(0).getLocation().y) {
> 130:         throw new RuntimeException("Wrong position of component in ScrollPane");

Looks like the code uses a non-standard two-space indentation.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24292#discussion_r2038768656


More information about the client-libs-dev mailing list