RFR: 8359061: Update and ProblemList manual test java/awt/Cursor/CursorDragTest/ListDragCursor.java
Damon Nguyen
dnguyen at openjdk.org
Tue Jun 10 19:58:27 UTC 2025
On Tue, 10 Jun 2025 19:32:51 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:
>> 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 ?
I have attached the standalone test to the issue. I tried altering how `ListDragCursor.java` creates the UI but it seems that no matter what I do, the cursor still updates after 1 second. I'm looking into what `PassFailJFrame` does differently at the moment.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25705#discussion_r2138668421
More information about the client-libs-dev
mailing list