--- old/test/tools/jlink/bindservices/BindServices.java 2017-04-07 18:27:49.000000000 +0300 +++ new/test/tools/jlink/bindservices/BindServices.java 2017-04-07 18:27:49.000000000 +0300 @@ -148,6 +148,23 @@ testImage(dir, "m1", "m2", "m3"); } + @Test + public void testVerboseAndNoBindServices() throws Throwable { + if (!hasJmods()) return; + + Path dir = Paths.get("verboseNoop"); + + List output = + JLink.run("--output", dir.toString(), + "--module-path", MODULE_PATH, + "--verbose", + "--add-modules", "m1").output(); + + assertTrue(output.contains("module m1 provides p1.S, used by m1")); + + testImage(dir, "m1"); + } + /* * Tests the given ${java.home} to only contain the specified modules */