--- old/test/jdk/java/awt/TrayIcon/ActionCommand/ActionCommand.java 2018-02-21 06:54:15.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/ActionCommand/ActionCommand.java 2018-02-21 06:54:15.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Check the return value of the getActionCommand method * of the ActionEvent triggered when TrayIcon is double clicked * (single clicked, on Mac)