Skip to content

Commit

Permalink
OCItest2
Browse files Browse the repository at this point in the history
  • Loading branch information
prsadhuk committed Dec 2, 2024
1 parent ac2fede commit 106abf0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/jdk/javax/swing/Action/8133039/bug8133039.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2024, 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
Expand Down Expand Up @@ -39,8 +39,8 @@
* @bug 8133039
* @summary Provide public API to sun.swing.UIAction#isEnabled(Object)
* @modules java.desktop/sun.swing
* @author Alexander Scherbatiy
*/

public class bug8133039 {

private static volatile int ACTION_PERFORMED_CALLS = 0;
Expand Down Expand Up @@ -91,6 +91,7 @@ private static void testPopupAction() throws Exception {
Robot robot = new Robot();
robot.setAutoDelay(100);
robot.waitForIdle();
robot.delay(1000);

robot.keyPress(KeyEvent.VK_A);
robot.keyRelease(KeyEvent.VK_A);
Expand Down

0 comments on commit 106abf0

Please sign in to comment.