Community
Participate
Working Groups
BETA_JAVA8: // -- import java.lang.annotation.ElementType; import java.lang.annotation.Target; @Target(ElementType.TYPE_USE) @interface Marker { } public class X { @Marker foo(String s) { } } This snippet triggers an NPE on HEAD.
Anirban, please follow up, TIA
Sorry, I just fixed this :) I assume the fix is part of commit 37207b2312332e7eb9b138e12e2db23f9f9da53e, see bug 415850 comment 1. I've released your test case as TypeAnnotationTest.testBug415911() (commit 4ff288f9c14eba5c9780f50be4522a4e3396a5cb)
(In reply to comment #2) > Sorry, I just fixed this :) Thanks ! :)