diff -r d3385f62b9e8 -r 5fa789776f7d jdk/test/javax/swing/plaf/windows/WindowsRootPaneUI/WrongAltProcessing/WrongAltProcessing.java --- a/jdk/test/javax/swing/plaf/windows/WindowsRootPaneUI/WrongAltProcessing/WrongAltProcessing.java Fri Aug 11 15:44:44 2017 -0700 +++ b/jdk/test/javax/swing/plaf/windows/WindowsRootPaneUI/WrongAltProcessing/WrongAltProcessing.java Fri Jul 28 14:06:28 2017 +0200 @@ -21,12 +21,15 @@ * questions. */ -/* @test - @bug 8001633 8028271 8039888 - @summary Wrong alt processing during switching between windows - @author mikhail.cherkasov@oracle.com - @run main WrongAltProcessing -*/ +/** + * @test + * @key headful + * @bug 8001633 8028271 8039888 + * @summary Wrong alt processing during switching between windows + * @author mikhail.cherkasov@oracle.com + * @requires (os.family == "windows") + * @run main WrongAltProcessing + */ import javax.swing.*; import java.awt.*;