On Tue, 19 Sep 2023 21:36:14 GMT, Harshitha Onkar <[email protected]> wrote:
>> Open sourcing few applet tests: >> >> java/awt/ScrollPane/ScrollPaneTest.java >> java/awt/TextArea/Length.java >> java/awt/Window/WindowOwner.java >> java/awt/font/Rotate/RotateTest3.java > > test/jdk/java/awt/TextArea/Length.java line 30: > >> 28: * @test >> 29: * @bug 4120876 >> 30: * @key headful > > Since we are not displaying anything, can this test be made headless? No, `TextArea` a heavyweight component and cannot be created in headless environment. https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/java/awt/TextComponent.java#L150 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15754#discussion_r1330816253
