mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6926699: Annotation processing regression tests should typically return SourceVersion.latest
Reviewed-by: jjg
This commit is contained in:
parent
1fb4cb4242
commit
779ba4bd83
19 changed files with 90 additions and 21 deletions
|
@ -38,7 +38,6 @@ import com.sun.source.util.*;
|
|||
import com.sun.tools.javac.api.*;
|
||||
|
||||
@SupportedAnnotationTypes("*")
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_6)
|
||||
public class T6412669 extends AbstractProcessor {
|
||||
public static void main(String... args) throws IOException {
|
||||
String testSrc = System.getProperty("test.src", ".");
|
||||
|
@ -72,4 +71,9 @@ public class T6412669 extends AbstractProcessor {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SourceVersion getSupportedSourceVersion() {
|
||||
return SourceVersion.latest();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue