RFR: JDK-8353942 : Open source Swing Tests - Set 5 [v3]

Sergey Bylokhov serb at openjdk.org
Fri Apr 18 23:22:41 UTC 2025


On Wed, 16 Apr 2025 23:59:26 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> Following test are open-sourced in this PR:
>> 
>> - javax/swing/DataTransfer/DragOverFeedbackTest.java - manual
>> - javax/swing/DataTransfer/ListDragOverFeedbackTest.java - manual
>> - javax/swing/DataTransfer/bug4655513.java - automated
>> - javax/swing/SwingUtilities/bug4369355.java - automated
>> - javax/swing/SwingUtilities/bug4967768.java - manual
>
> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   editor on EDT

test/jdk/javax/swing/DataTransfer/bug4655513.java line 65:

> 63:             robot.delay(1000);
> 64: 
> 65:             Point dragStartLoc = Util.getCenterPoint(dragSource);

dragSource and editor are initialized on one thread and accessed on the main thread without synchronization. volatile might help.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24698#discussion_r2051238614


More information about the client-libs-dev mailing list