test/tools/javac/T6411379.java
Print this page
*** 35,45 ****
import javax.lang.model.element.*;
import com.sun.source.tree.*;
import com.sun.source.util.*;
@SupportedAnnotationTypes("*")
- @SupportedSourceVersion(SourceVersion.RELEASE_6)
public class T6411379 extends AbstractProcessor {
public boolean process(Set<? extends TypeElement> annoElems,
RoundEnvironment renv) {
Trees trees = Trees.instance(processingEnv);
--- 35,44 ----
*** 56,65 ****
--- 55,69 ----
}
}
return true;
}
+ @Override
+ public SourceVersion getSupportedSourceVersion() {
+ return SourceVersion.latest();
+ }
+
public void checkNull(Object o) {
if (o != null)
throw new AssertionError("expected null");
}
}