-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8
If Bar extends Foo, and Foo is package protected, then Method.getAnnotations() fails to find the annotations on public methods defined on Foo.
However, it does work if you inspect the annotations on Foo directly. The combination of a sub-class, and package protected abstract parent class, causes the issue.
However, it does work if you inspect the annotations on Foo directly. The combination of a sub-class, and package protected abstract parent class, causes the issue.
- duplicates
-
JDK-6695379 Copy method annotations and parameter annotations to synthetic bridge methods
-
- Closed
-