8153391: an image created for \"jdk.compiler\" fails to run javac

Improving errors produced by javac when the zipfs implementation is missing in the JDK image.

Reviewed-by: jjg
This commit is contained in:
Jan Lahoda 2016-08-22 09:59:43 +02:00
parent 9f44318ef9
commit 53cd7b54fa
8 changed files with 192 additions and 41 deletions

View file

@ -128,7 +128,8 @@ public class InheritRuntimeEnvironmentTest extends ModuleTestBase {
new TestCase(base)
.testOpts("--module-path", modules.toString(), "--limit-modules", "jdk.compiler")
.otherOpts("-XDrawDiagnostics",
"--module-source-path", src.toString())
"--module-source-path", src.toString(),
"-classpath", "")
.files(findJavaFiles(src))
.expect(Task.Expect.FAIL, "compiler.err.module.not.found")
.run();