Skip to content

Commit 7bb62bc

Browse files
author
duke
committed
Backport e97f0fe1b4046bfcc40e85ba1bee4f4c40053300
1 parent da87df7 commit 7bb62bc

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
@@ -344,11 +344,9 @@ private PassFailJFrame(final Builder builder)
344344
builder.positionWindows
345345
.positionTestWindows(unmodifiableList(builder.testWindows),
346346
builder.instructionUIHandler));
347-
} else if (builder.testWindows.size() == 1) {
347+
} else {
348348
Window window = builder.testWindows.get(0);
349349
positionTestWindow(window, builder.position);
350-
} else {
351-
positionTestWindow(null, builder.position);
352350
}
353351
}
354352
showAllWindows();

0 commit comments

Comments
 (0)