-
Bug
-
Resolution: Fixed
-
P2
-
16
-
b30
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258765 | 17 | Joel Borggrén-Franck | P2 | Resolved | Fixed | b03 |
JDK-8260181 | 16.0.1 | Joel Borggrén-Franck | P2 | Resolved | Fixed | b03 |
After JDK-8202471 getAnnotatedReceiverType().getType() will return instances of ParameterizedType even though no type in the chain of owners contain type paramterters. Instances of ParameterizedType should only be returned if this type or any transitive owner has type parameters.
Two tests are started failing with JDK16-b25 due to this.
Attached a stand alone code which will pass in builds < b25.
Two tests are started failing with JDK16-b25 due to this.
Attached a stand alone code which will pass in builds < b25.
- backported by
-
JDK-8258765 getAnnotatedReceiverType parameterizes types too eagerly
- Resolved
-
JDK-8260181 getAnnotatedReceiverType parameterizes types too eagerly
- Resolved
- csr for
-
JDK-8258104 getAnnotatedReceiverType parameterizes types too eagerly
- Closed
- relates to
-
JDK-8202471 (ann) Cannot read type annotations on generic receiver type's type variables
- Resolved
(2 links to)