RFR: 8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows

Alexander Zvegintsev azvegint at openjdk.org
Wed Mar 13 17:00:38 UTC 2024


It is currently blocked with an artificial check:


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");
    }
}


We have a number of manual tests, which has some text area in the instruction window to print a feedback from the test to be evaluated by a tester.

Removing this check allows us to implement this.
We can consider making a special methods for this later.

This is required for the #18250

-------------

Commit messages:
 - 8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows

Changes: https://git.openjdk.org/jdk/pull/18281/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18281&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328110
  Stats: 8 lines in 1 file changed: 0 ins; 8 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18281.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18281/head:pull/18281

PR: https://git.openjdk.org/jdk/pull/18281


More information about the client-libs-dev mailing list