Skip to content

Commit d2534fa

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

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
@@ -1333,14 +1333,6 @@ private void validate() {
13331333
position = Position.HORIZONTAL;
13341334
}
13351335

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

0 commit comments

Comments
 (0)