author | robm |
Tue, 13 Sep 2016 14:47:29 +0100 | |
changeset 40938 | 5b0977acc842 |
parent 30713 | 4a01965154be |
child 45867 | ca77ebd05a06 |
permissions | -rw-r--r-- |
10 | 1 |
/** |
2 |
* @test /nodynamiccopyright/ |
|
3 |
* @bug 5012028 6384539 |
|
4 |
* @summary javac crash when declare an annotation type illegally |
|
5 |
* |
|
30713
4a01965154be
8068464: Group 10d: golden files for tests in tools/javac dir
sogoel
parents:
6150
diff
changeset
|
6 |
* @compile/fail/ref=IllegalAnnotation.out -XDrawDiagnostics IllegalAnnotation.java |
10 | 7 |
*/ |
8 |
class IllegalAnnotation { |
|
9 |
{ |
|
10 |
@interface SomeAnnotation { } |
|
11 |
} |
|
12 |
} |