From 0a0e6d307d5e0138ac8a3bd6961e9d96676f0fbb Mon Sep 17 00:00:00 2001 From: Jan Lahoda Date: Fri, 29 Nov 2024 15:27:39 +0100 Subject: [PATCH] Fixing test. --- test/langtools/tools/javac/modules/RequiresTransitiveTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/langtools/tools/javac/modules/RequiresTransitiveTest.java b/test/langtools/tools/javac/modules/RequiresTransitiveTest.java index 846d1857bda39..03f34e9611311 100644 --- a/test/langtools/tools/javac/modules/RequiresTransitiveTest.java +++ b/test/langtools/tools/javac/modules/RequiresTransitiveTest.java @@ -343,7 +343,7 @@ public void testTransitiveModuleName(Path base) throws Exception { .sourcepath(src) .files(findJavaFiles(src)) .outdir(classes) - .run() + .run(Task.Expect.FAIL) .writeAll() .getOutputLines(Task.OutputKind.DIRECT);