*** 23,10 *** --- 23,11 --- /* * @test * @bug 6988079 * @summary Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly + * @enablePreview * @library /tools/javac/lib * @modules java.compiler * jdk.compiler * @build JavacTestingAbstractProcessor TestErrorCount * @compile/fail/ref=TestErrorCount.out -XDrawDiagnostics -processor TestErrorCount TestErrorCount.java