RFR (S) 9 and 8u: JDK-8038994: AnnotatedType.getType() of a TypeVariable boundary without annotations return null

Joel Borggren-Franck joel.franck at oracle.com
Wed May 14 18:01:21 UTC 2014


Hi,

Here is a fix for: https://bugs.openjdk.java.net/browse/JDK-8038994

In short, getAnnotatedFoo.getType() is supposed to return the same Type
as getGenericFoo(). This wasn't the case for a type variable bound
without an annotation previously.

Also cleaned up an allocation while in the neighborhood.

Webrev here: http://cr.openjdk.java.net/~jfranck/8038994/webrev.00/

cheers
/Joel



More information about the core-libs-dev mailing list