RFR: 8306133: Open source few AWT Drag & Drop related tests
Sergey Bylokhov
serb at openjdk.org
Fri Apr 21 23:12:44 UTC 2023
On Fri, 21 Apr 2023 22:07:12 GMT, Phil Race <prr at openjdk.org> wrote:
>> test/jdk/java/awt/dnd/NextDropActionTest/NextDropActionTest.java line 159:
>>
>>> 157: }
>>> 158: } finally {
>>> 159: if (frame != null) {
>>
>> frame is created with in EDT but disposing without EDT ?
>
> There's no harm in doing that but I'm not sure its necessary for the dispose().
it is fine to call dispose here on the main, but the frame possibly can be null here.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13591#discussion_r1174217484
More information about the client-libs-dev
mailing list