// Through the provider, the console and console go to command out (we assume, // because it works with the current tests) that console and user output are // after command out.
@Override protectedvoid startExCoUoCeCn(int expectedExitCode,
String expectedCmdOutput,
String expectedUserOutput,
String expectedError,
String expectedConsole,
String... args) { super.startExCoUoCeCn(expectedExitCode,
(expectedCmdOutput == null? "" : expectedCmdOutput) +
(expectedConsole == null? "" : expectedConsole) +
(expectedUserOutput == null? "" : expectedUserOutput), null, expectedError, null, args);
}
@Override protectedint runShell(String... args) {
ServiceLoader<Tool> sl = ServiceLoader.load(Tool.class); for (Tool provider : sl) { if (provider.name().equals("jshell")) { return provider.run(cmdInStream, cmdout, cmderr, args);
}
} thrownew AssertionError("Repl tool not found by ServiceLoader: " + sl);
}
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.13Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.