[8u] RFR: 8252470: java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails on Windows
Hohensee, Paul
hohensee at amazon.com
Tue Nov 24 20:20:52 UTC 2020
awt_Toolkit.cpp needs a copyright update to 2020 also. A backport of JDK-8160974 is out for review, which will add the headful attribute, but I don't have a problem with it being done in this backport: the author of that backport (me) can just remove DisposeFrameOnDragTest.java from his patch. JDK-8179889 is moot because you're updating the copyright date on both patched files anyway.
Thanks,
Paul
On 10/30/20, 8:49 AM, "jdk8u-dev on behalf of Alex Kashchenko" <jdk8u-dev-retn at openjdk.java.net on behalf of akashche at redhat.com> wrote:
On 10/30/20, Andrew Hughes <gnu.andrew at redhat.com> wrote:
> On 12:46 Wed 23 Sep , Alex Kashchenko wrote:
>> Hi,
>>
>> Please review the backport of JDK-8252470 to 8u-dev:
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8252470
>>
>> Original changeset: https://hg.openjdk.java.net/jdk/jdk/rev/5870df313be1
>>
>> 8u webrev: https://cr.openjdk.java.net/~akasko/jdk8u/8252470/webrev.00/
>>
>>
>> Backport depends on:
>>
>> 8132664: closed/javax/swing/DataTransfer/DefaultNoDrop/DefaultNoDrop.java
>> locks on Windows (not public, see:
>> https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-September/012731.html
>> )
>> 8232114: JVM crashed at imjpapi.dll in native code
>>
>>
>> After fixing paths, changes to awt_Toolkit.cpp apply cleanly.
>> Comment-only
>> change to DisposeFrameOnDragTest.java does not apply cleanly, because it
>> depends on:
>>
>> 8198333: ProblemList should be updated for headless mode
>>
>> that seems to be problematic to backport. It is proposed to exclude
>> changes
>> to DisposeFrameOnDragTest.java from the backport.
>>
>> Testing: checked that it compiles with vs2010 and vs2017, ran
>> jck:api/java_awt .
>>
>>
>> PS: it is not clear whether this fix need to be brought to 15/13/11 first
>> before proceeding with 8, please let me know if that is the case.
>>
>> --
>> -Alex
>>
>
> 8198333 actually only makes a small change to the header format:
>
> ---
> a/test/jdk/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java
> +++
> b/test/jdk/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java
> @@ -22,7 +22,8 @@
> */
>
> /**
> - * @test @summary JVM crash if the frame is disposed in
> DropTargetListener
> + * @test
> + * @summary JVM crash if the frame is disposed in DropTargetListener
> * @key headful
> * @author Petr Pchelko
> * @library ../../regtesthelpers
>
>
> The test itself is present in 8u, so I see no reason why this patch
> can't include the bug ID line and copyright change from the 11u version.
> You could also include the above cleanup.
Thanks for the review! Besides JDK-8198333, changes to
DisposeFrameOnDragTest.java also depend on JDK-8179889 (comma) and
JDK-8160974 (headful tag).
Updated webrev including changes from the issues above:
https://cr.openjdk.java.net/~akasko/jdk8u/8252470/webrev.01/
--
-Alex
More information about the jdk8u-dev
mailing list