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