From 4146736891150faf05d21f12ae1dd1af5110d9e6 Mon Sep 17 00:00:00 2001 From: TheRealMDoerr Date: Mon, 3 Jun 2024 13:09:10 +0200 Subject: [PATCH] Enable preview for test T8312229. --- test/langtools/tools/javac/patterns/T8312229.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/langtools/tools/javac/patterns/T8312229.java b/test/langtools/tools/javac/patterns/T8312229.java index 423864cdcc3..20c3eb3e023 100644 --- a/test/langtools/tools/javac/patterns/T8312229.java +++ b/test/langtools/tools/javac/patterns/T8312229.java @@ -24,7 +24,7 @@ * @test * @bug 8312229 * @summary Ensure javac does not crash when a variable is used from an anonymous class - * @compile T8312229.java + * @compile --enable-preview -source ${jdk.version} T8312229.java */ public class T8312229 { void test(Object o) {