RFR: 8306466: Open source more AWT Drag & Drop related tests [v2]

Sergey Bylokhov serb at openjdk.org
Thu Apr 27 07:38:25 UTC 2023


On Wed, 26 Apr 2023 17:57:47 GMT, Phil Race <prr at openjdk.org> wrote:

>> test/jdk/java/awt/dnd/RejectDragDropActionTest.java line 114:
>> 
>>> 112:         }
>>> 113: 
>>> 114:         if (incorrectActionDetected) {
>> 
>> incorrectActionDetected is set on one thread an used on another, same for "frame" in other tests.
>
> meaning you are suggesting they need to be volatile ?

or changed to be used on the same thread, in this case EDT. It seems different tests use different approaches.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13653#discussion_r1178725097



More information about the client-libs-dev mailing list