jdk-24/langtools/test/tools/javac/T8171332/Processor.java
Vicente Romero 6c4a689750 8171332: NPE in MembersPhase.finishClass
Reviewed-by: mcimadamore
2017-01-10 11:31:59 -08: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;
}
}