Skip to content

Commit f9d7601

Browse files
author
Amos Shi
committed
8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows
Backport-of: 11a3673d42edbefef70228b4d14595aab11fdac4
1 parent db9e313 commit f9d7601

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/jdk/java/awt/regtesthelpers/PassFailJFrame.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,14 +1331,6 @@ private void validate() {
13311331
position = Position.HORIZONTAL;
13321332
}
13331333

1334-
if (panelCreator != null) {
1335-
if (splitUI && (testWindows != null || windowListCreator != null)) {
1336-
// TODO Is it required? We can support both
1337-
throw new IllegalStateException("Split UI is not allowed "
1338-
+ "with additional windows");
1339-
}
1340-
}
1341-
13421334
if (positionWindows != null) {
13431335
if (testWindows == null && windowListCreator == null) {
13441336
throw new IllegalStateException("To position windows, "

0 commit comments

Comments
 (0)