test/tools/javac/T6411379.java

changeset 495
fe17a9dbef03
parent 1
9a66ca7c79fa
child 554
9d9f26857129
     1.1 --- a/test/tools/javac/T6411379.java	Mon Feb 15 18:20:57 2010 -0800
     1.2 +++ b/test/tools/javac/T6411379.java	Mon Feb 15 20:06:11 2010 -0800
     1.3 @@ -37,7 +37,6 @@
     1.4  import com.sun.source.util.*;
     1.5  
     1.6  @SupportedAnnotationTypes("*")
     1.7 -@SupportedSourceVersion(SourceVersion.RELEASE_6)
     1.8  public class T6411379 extends AbstractProcessor {
     1.9  
    1.10      public boolean process(Set<? extends TypeElement> annoElems,
    1.11 @@ -58,6 +57,11 @@
    1.12          return true;
    1.13      }
    1.14  
    1.15 +    @Override
    1.16 +    public SourceVersion getSupportedSourceVersion() {
    1.17 +        return SourceVersion.latest();
    1.18 +    }
    1.19 +
    1.20      public void checkNull(Object o) {
    1.21          if (o != null)
    1.22              throw new AssertionError("expected null");

mercurial