langtools/test/tools/javac/api/T6412669.java
changeset 4935 ff8adaa7bb8e
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
equal deleted inserted replaced
4934:c6a2cf3b6b82 4935:ff8adaa7bb8e
    36 import javax.tools.*;
    36 import javax.tools.*;
    37 import com.sun.source.util.*;
    37 import com.sun.source.util.*;
    38 import com.sun.tools.javac.api.*;
    38 import com.sun.tools.javac.api.*;
    39 
    39 
    40 @SupportedAnnotationTypes("*")
    40 @SupportedAnnotationTypes("*")
    41 @SupportedSourceVersion(SourceVersion.RELEASE_6)
       
    42 public class T6412669 extends AbstractProcessor {
    41 public class T6412669 extends AbstractProcessor {
    43     public static void main(String... args) throws IOException {
    42     public static void main(String... args) throws IOException {
    44         String testSrc = System.getProperty("test.src", ".");
    43         String testSrc = System.getProperty("test.src", ".");
    45         String testClasses = System.getProperty("test.classes", ".");
    44         String testClasses = System.getProperty("test.classes", ".");
    46 
    45 
    70                 m.printMessage(k, "test [" + start + "," + end + "]", e);
    69                 m.printMessage(k, "test [" + start + "," + end + "]", e);
    71             }
    70             }
    72         }
    71         }
    73         return true;
    72         return true;
    74     }
    73     }
       
    74 
       
    75     @Override
       
    76     public SourceVersion getSupportedSourceVersion() {
       
    77         return SourceVersion.latest();
       
    78     }
    75 }
    79 }