-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
b70
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136259 | emb-9 | Srikanth Adayapalam | P4 | Resolved | Fixed | team |
Compiling the following program:
abstract class Foo implements @TA java.util.Map { }
@java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE_USE)
@interface TA { }
results in the following:
Main.java:1: error: cannot find symbol
abstract class Foo implements @TA java.util.Map { }
^
symbol: class java
1 error
abstract class Foo implements @TA java.util.Map { }
@java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE_USE)
@interface TA { }
results in the following:
Main.java:1: error: cannot find symbol
abstract class Foo implements @TA java.util.Map { }
^
symbol: class java
1 error
- backported by
-
JDK-8136259 type annotation on a qualified type causes spurious 'cannot find symbol' errors
-
- Resolved
-
- relates to
-
JDK-8130401 Strange & misclassified disgnostic results in annotation processing round skipped.
-
- Closed
-