mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
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:
parent
9f44318ef9
commit
53cd7b54fa
8 changed files with 192 additions and 41 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue