On Fri, 7 Aug 2026 19:04:34 GMT, Phil Race <[email protected]> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Review comment
>
> test/jdk/javax/swing/text/JTextComponent/TextComponentDragEnabledTest.java 
> line 31:
> 
>> 29:  * @run main TextComponentDragEnabledTest
>> 30:  */
>> 31: 
> 
> Could we verify the headless behaviour too ?
> i.e there could be a separate @test block that doesn't specify the headful 
> key and does
> run main -Djava.awt.headless=true
> 
> Then in the test if headless is true, only test the defaults. The point being 
> that the default should never cause a HeadlessException.

Added headless testing

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32101#discussion_r3763862542

Reply via email to