java-topology/test/langtools/tools/javac/T8171332/Processor.java
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

21 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;
}
}