RFR: JDK-8328299 : Convert DnDFileGroupDescriptor.html applet test to main

Andrey Turbanov aturbanov at openjdk.org
Sat Mar 16 22:18:53 UTC 2024


On Fri, 15 Mar 2024 22:54:23 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Following test java/awt/dnd/DnDFileGroupDescriptor/DnDFileGroupDescriptor.html is converted to main using PassFailJFrame.
> 
> This test is currently problem-listed on macOS and linux, but as per the previous JBS bugs [[JDK-6242241](https://bugs.openjdk.org/browse/JDK-6242241), [JDK-8080185](https://bugs.openjdk.org/browse/JDK-8080185), [JDK-7147083](https://bugs.openjdk.org/browse/JDK-7147083)] this test was original created for testing DnD of MS Outlook attachments on Windows system.
> 
> Based on the test history and JBS details, I believe this should be windows-only test and should NOT be problemlisted on macOS and linux as it is **not applicable**.

test/jdk/java/awt/dnd/DnDFileGroupDescriptor/DnDFileGroupDescriptor.java line 84:

> 82: 
> 83:         frame.add(mainPanel);
> 84:         frame.setSize(400,200);

Suggestion:

        frame.setSize(400, 200);

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18335#discussion_r1527142182


More information about the client-libs-dev mailing list