RFR: 8325097: [macos14] Test "java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.html" failed on macOS 14.3 aarch64 when double-click with the right button on the tray icon with message: "java.lang.RuntimeException: Event posted on wrong app contex" [v5]

Harshitha Onkar honkar at openjdk.org
Thu Feb 22 20:18:57 UTC 2024


On Thu, 22 Feb 2024 17:16:56 GMT, Alisen Chung <achung at openjdk.org> 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


More information about the client-libs-dev mailing list