Skip to content

Commit bd41268

Browse files
committed
8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Backport-of: 8858de393a5cb4f9f1150a6cdf388266362a9559
1 parent 52a25fd commit bd41268

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/jdk/javax/swing/JFrame/DefaultCloseOperation.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public void init() {
9999

100100
CloseOpFrame testFrame = new CloseOpFrame();
101101
testFrame.setLocationRelativeTo(null);
102-
PassFailJFrame.addTestWindow(testFrame);
103102

104103
add(new JLabel("JFrame Default Close Operation:"));
105104
frameCloseOp = new JComboBox<>();
@@ -127,7 +126,6 @@ public void init() {
127126

128127
testDialog = new CloseOpDialog(testFrame);
129128
testDialog.setLocationRelativeTo(null);
130-
PassFailJFrame.addTestWindow(testDialog);
131129

132130
add(new JLabel("JDialog Default Close Operation:"));
133131
dialogCloseOp = new JComboBox<>();

0 commit comments

Comments
 (0)