mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-08 17:38:38 +00:00
12 lines
428 B
Java
12 lines
428 B
Java
/* @test /nodynamiccopyright/
|
|
* @bug 8181464
|
|
* @summary Invalid lambda in annotation causes NPE in Lint.augment
|
|
* @modules java.compiler
|
|
* jdk.compiler
|
|
* @compile Anno.java AnnoProcessor.java
|
|
* @compile/fail/ref=LambdaInAnnotationsCausesNPETest1.out -XDrawDiagnostics -processor AnnoProcessor -proc:only LambdaInAnnotationsCausesNPETest1.java
|
|
*/
|
|
|
|
@Anno(value = x -> x)
|
|
class LambdaInAnnotationsCausesNPETest1 {}
|