Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 580efd5

Browse files
author
duke
committedAug 31, 2020
Automatic merge of client:master into master
2 parents af4203a + 058a4ae commit 580efd5

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed
 

‎test/jdk/ProblemList.txt

-1
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,6 @@ javax/swing/JFileChooser/8021253/bug8021253.java 8169954 windows-all,linux-all,m
779779
javax/swing/JFileChooser/8062561/bug8062561.java 8196466 linux-all,macosx-all
780780
javax/swing/JInternalFrame/Test6325652.java 8224977 macosx-all
781781
javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java 8225045 linux-all
782-
javax/swing/JLabel/6596966/bug6596966.java 8040914 macosx-all
783782
javax/swing/JPopupMenu/4870644/bug4870644.java 8194130 macosx-all,linux-all
784783
javax/swing/JPopupMenu/4966112/bug4966112.java 8064915 macosx-all
785784
javax/swing/MultiUIDefaults/Test6860438.java 8198391 generic-all

‎test/jdk/javax/swing/JLabel/6596966/bug6596966.java

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -33,11 +33,18 @@
3333
* @author Pavel Porvatov
3434
*/
3535

36-
import java.awt.*;
36+
import java.awt.EventQueue;
37+
import java.awt.Robot;
38+
import java.awt.Toolkit;
3739
import java.awt.event.KeyEvent;
3840
import java.awt.event.InputEvent;
3941
import java.util.ArrayList;
40-
import javax.swing.*;
42+
import javax.swing.JFrame;
43+
import javax.swing.JButton;
44+
import javax.swing.JComboBox;
45+
import javax.swing.JLabel;
46+
import javax.swing.JPanel;
47+
import javax.swing.SwingUtilities;
4148

4249
import jdk.test.lib.Platform;
4350

@@ -51,6 +58,7 @@ public class bug6596966 {
5158
public static void main(String[] args) throws Exception {
5259
try {
5360
Robot robot = new Robot();
61+
robot.setAutoDelay(100);
5462

5563
SwingUtilities.invokeAndWait(new Runnable() {
5664
public void run() {
@@ -76,7 +84,7 @@ public void run() {
7684
});
7785

7886
robot.waitForIdle();
79-
87+
robot.delay(1000);
8088

8189
int keyMask = InputEvent.ALT_MASK;
8290
if (Platform.isOSX()) {

0 commit comments

Comments
 (0)
This repository has been archived.