Skip to content

Commit 4e941fc

Browse files
author
duke
committed
Backport e97f0fe
1 parent 83aab07 commit 4e941fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,9 @@ private PassFailJFrame(final Builder builder)
349349
builder.positionWindows
350350
.positionTestWindows(unmodifiableList(builder.testWindows),
351351
builder.instructionUIHandler));
352-
} else if (builder.testWindows.size() == 1) {
352+
} else {
353353
Window window = builder.testWindows.get(0);
354354
positionTestWindow(window, builder.position);
355-
} else {
356-
positionTestWindow(null, builder.position);
357355
}
358356
}
359357
showAllWindows();

0 commit comments

Comments
 (0)