8194943: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java' fails
authorpsadhukhan
Fri, 02 Mar 2018 09:59:02 +0530
changeset 49216 577f96d4f3c9
parent 49215 0ce74d78f58c
child 49217 3b820b878ebe
8194943: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java' fails Reviewed-by: ssadetsky, sveerabhadra
test/jdk/ProblemList.txt
test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java
--- a/test/jdk/ProblemList.txt	Thu Mar 01 10:37:20 2018 -0800
+++ b/test/jdk/ProblemList.txt	Fri Mar 02 09:59:02 2018 +0530
@@ -654,7 +654,6 @@
 javax/swing/JFileChooser/DeserializedJFileChooser/DeserializedJFileChooserTest.java 8196095 generic-all
 javax/swing/JFileChooser/6396844/TwentyThousandTest.java 8058231 macosx-all
 javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java 8193942 generic-all
-javax/swing/JInternalFrame/8020708/bug8020708.java 8194943 windows-all
 javax/swing/JList/6462008/bug6462008.java 7156347 generic-all
 javax/swing/JPopupMenu/6580930/bug6580930.java 8196096 windows-all,macosx-all
 javax/swing/JPopupMenu/6800513/bug6800513.java 7184956 macosx-all
--- a/test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java	Thu Mar 01 10:37:20 2018 -0800
+++ b/test/jdk/javax/swing/JInternalFrame/8020708/bug8020708.java	Fri Mar 02 09:59:02 2018 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -36,7 +36,7 @@
 /**
  * @test
  * @key headful
- * @bug 8020708 8032568
+ * @bug 8020708 8032568 8194943
  * @author Alexander Scherbatiy
  * @summary NLS: mnemonics missing in SwingSet2/JInternalFrame demo
  * @library ../../regtesthelpers
@@ -110,7 +110,7 @@
         robot.mouseRelease(InputEvent.BUTTON1_MASK);
         robot.waitForIdle();
 
-        Util.hitKeys(robot, KeyEvent.VK_CONTROL, KeyEvent.VK_SPACE);
+        Util.hitKeys(robot, KeyEvent.VK_SHIFT, KeyEvent.VK_ESCAPE);
         robot.waitForIdle();
         int keyCode = KeyEvent.VK_C;
         String mnemonic = UIManager