On Mon, 30 Nov 2020 21:32:35 GMT, Igor Ignatyev <iignat...@openjdk.org> wrote:
>> @iignatev could you please review? Thank you. >> >> note to self: >> jtreg test/jdk/java/lang/ProcessBuilder/InheritIO/InheritIoTest.java >> test/jdk/java/lang/SecurityManager/modules/CustomSecurityManagerTest.java >> test/jdk/java/lang/Thread/uncaughtexceptions/UncaughtExceptionsTest.java >> test/jdk/java/lang/annotation/loaderLeak/LoaderLeakTest.java > > test/jdk/java/lang/Thread/uncaughtexceptions/UncaughtExceptionsTest.java line > 70: > >> 68: outputAnalyzer.shouldHaveExitValue(exitValue); >> 69: outputAnalyzer.stderrShouldMatch(stdErrMatch); >> 70: outputAnalyzer.stdoutShouldMatch(stdOutMatch); > > why do you use `ShouldMatch` and not `ShouldContain` here? Because the first two test input tuples are regular expressions, please see [new PR](https://github.com/openjdk/jdk/pull/1578) ------------- PR: https://git.openjdk.java.net/jdk/pull/1484