--- old/test/tools/launcher/modules/patch/basic/PatchTestWarningError.java 2017-03-21 13:44:37.129761723 +0000 +++ new/test/tools/launcher/modules/patch/basic/PatchTestWarningError.java 2017-03-21 13:44:36.928747930 +0000 @@ -179,7 +179,7 @@ "-m", "test/jdk.test.Main", arg) .outputTo(System.out) .errorTo(System.out) - .shouldContain("WARNING: Unknown module: DoesNotExist specified in --patch-module") + .shouldContain("WARNING: Unknown module: DoesNotExist specified to --patch-module") .getExitValue(); assertTrue(exitValue == 0);