*** 24,10 *** --- 24,11 --- /* * @test * @bug 8235564 * @summary Verify that passing member references to a method not accepting * functional interface does not crash the compiler. + * @enablePreview * @library /tools/lib /tools/javac/lib * @modules jdk.compiler/com.sun.tools.javac.api * jdk.compiler/com.sun.tools.javac.file * jdk.compiler/com.sun.tools.javac.main * jdk.compiler/com.sun.tools.javac.util