Skip to content

Commit

Permalink
Backport 11a3673d42edbefef70228b4d14595aab11fdac4
Browse files Browse the repository at this point in the history
  • Loading branch information
amosshi committed Jun 19, 2024
1 parent e716aae commit feebf4d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/jdk/java/awt/regtesthelpers/PassFailJFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1333,14 +1333,6 @@ private void validate() {
position = Position.HORIZONTAL;
}

if (panelCreator != null) {
if (splitUI && (testWindows != null || windowListCreator != null)) {
// TODO Is it required? We can support both
throw new IllegalStateException("Split UI is not allowed "
+ "with additional windows");
}
}

if (positionWindows != null) {
if (testWindows == null && windowListCreator == null) {
throw new IllegalStateException("To position windows, "
Expand Down

0 comments on commit feebf4d

Please sign in to comment.