author | lana |
Thu, 21 Jan 2016 09:46:01 -0800 | |
changeset 35340 | 38f7386ed942 |
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 |
} |