changeset 45500 | 365640343c55 |
45499:16e055f785ef | 45500:365640343c55 |
---|---|
1 /* @test /nodynamiccopyright/ |
|
2 * @bug 8181464 |
|
3 * @summary Invalid lambda in annotation causes NPE in Lint.augment |
|
4 * @modules java.compiler |
|
5 * jdk.compiler |
|
6 * @compile Anno.java AnnoProcessor.java |
|
7 * @compile/fail/ref=LambdaInAnnotationsCausesNPETest1.out -XDrawDiagnostics -processor AnnoProcessor -proc:only LambdaInAnnotationsCausesNPETest1.java |
|
8 */ |
|
9 |
|
10 @Anno(value = x -> x) |
|
11 class LambdaInAnnotationsCausesNPETest1 {} |