jdk-24/test/langtools/tools/javac/T8171332/Processor.java
2017-09-12 19:03:39 +02:00

22 lines
592 B
Java

/**
* @test /nodynamiccopyright/
* @bug 8171332
* @summary 8171332: NPE in MembersPhase.finishClass
* @modules java.compiler
* jdk.compiler
* @build Processor
* @compile/fail/ref=Processor.out -XDrawDiagnostics -processor Processor Buggy.java
*/
import java.util.Set;
import javax.annotation.processing.*;
import javax.lang.model.element.TypeElement;
@SupportedAnnotationTypes("*")
public class Processor extends AbstractProcessor {
@Override
public boolean process(Set<? extends TypeElement> set, RoundEnvironment roundEnvironment) {
return false;
}
}