On Thu, 22 Feb 2024 17:16:56 GMT, Alisen Chung <[email protected]> wrote:
>> test/jdk/java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.java
>> line 89:
>>
>>> 87: frame.setVisible(true);
>>> 88:
>>> 89: System.setProperty("sun.awt.exception.handler\n",
>>
>> Why is there \n in the property name?
>
> i wasn't sure how to do the key value pairs for setProperty. Should there
> just be a space between sun.awt.exception.handler and
> DisposeInActionEventTest$EDTExceptionHandler?
@alisenchung Why is System.setProperty("sun.awt.exception.handler\n",
"DisposeInActionEventTest$EDTExceptionHandler") used ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17838#discussion_r1499885745