<Swing Dev> RFR: JDK-8259818: [TEST_BUG] Convert applet-based test test/jdk/javax/swing/JCheckBox/8032667/bug8032667.java to a regular java

Alexey Ivanov aivanov at openjdk.java.net
Mon Jan 18 11:33:41 UTC 2021


On Sat, 16 Jan 2021 00:42:45 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Dear All,
>> 
>> Hi All, Could you please review this fix for JDK17?
>> 
>> Problem Description: The test open/test/jdk/javax/swing/JCheckBox/8032667/bug8032667.java is applet based.
>> 
>> Fix: Rewritten the above applet based test as a regular java test.
>> 
>> Best Regards,
>> K Suman Rajkumaar
>
> test/jdk/javax/swing/JCheckBox/8032667/bug8032667.java line 50:
> 
>> 48:  * @bug 8032667
>> 49:  * @summary [macosx] Components cannot be rendered in HiDPI to BufferedImage
>> 50:  * @run main bug8032667
> 
> I suggest do not convert manual tests from the applet to the regular tests, until we will not find a way to unify them, in a similar way as it was for "applet/manual=yesno". Otherwise, all our manual tests will look differently, since different people will make the UI differently.

Unifying the UI makes sense in the long run. Will it involve retrofitting all the existing manual test which already have its own UI?

In most cases, the UI in manual tests is similar: Pass / Fail buttons at the bottom with the test instructions above. Then there are differences… Other parts of the UI depend on the nature of the test.

I've always found manual tests a bit confusing: a test, especially applet-based one, opens two windows; however, one window is easier to focus on.

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

PR: https://git.openjdk.java.net/jdk/pull/2094


More information about the swing-dev mailing list