RFR: 8359061: Update and ProblemList manual test java/awt/Cursor/CursorDragTest/ListDragCursor.java
Damon Nguyen
dnguyen at openjdk.org
Tue Jun 10 19:35:33 UTC 2025
On Tue, 10 Jun 2025 13:19:40 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> test/jdk/java/awt/Cursor/CursorDragTest/ListDragCursor.java line 52:
>>
>>> 50: pass the test. This test fails if the cursor updates
>>> 51: when pointing over the different components before
>>> 52: dragging is complete.
>>
>> The new instructions doesn't seem to hold true when I tested on windows.
>> Additionally the instructions require rephrasing for clarity?
>
> Perhaps, the instructions need to be adjusted for each OS, or the test should be limited to a specific OS only.
It seems like there's a bug with this test when using it in a `PassFailJFrame`. When I move the `createUI` logic into a standalone java class's main method and add `setVisible(true)`, the test works as expected for all OS's except macOS.
In this `PassFailJFrame` it looks like it "works" correctly for 1 second, and then the cursor updates anyway afterwards. I'm going to try to look into why this is, but is this what you are seeing too @honkar-jdk ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25705#discussion_r2138635507
More information about the client-libs-dev
mailing list