test/tools/javac/T6423583.java

changeset 495
fe17a9dbef03
parent 1
9a66ca7c79fa
child 554
9d9f26857129
     1.1 --- a/test/tools/javac/T6423583.java	Mon Feb 15 18:20:57 2010 -0800
     1.2 +++ b/test/tools/javac/T6423583.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 T6423583 extends AbstractProcessor {
     1.9      boolean b1 = true;
    1.10      boolean b2 = false;
    1.11 @@ -59,6 +58,10 @@
    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      private static class Test extends TreeScanner<Void,Void> {
    1.21  

mercurial