RFR: 8007072: Update Core Reflection for Type Annotations to match latest spec

Joel Borggren-Franck joel.franck at oracle.com
Tue Sep 17 09:53:24 UTC 2013


Here is an update to the javadoc and implementation of reflection for
type annotations.

The biggest change is an update to the javadoc of Class and Executable
to match return types of the getGeneric* functions. That is, when
getGenericFoo returns an empty array getAnnotatedFoo should return an
empty array. Likewise for null.

Also the javadoc wording is updated to better match the style of
existing docs, for example type names in {@code }.

Change is actually quite small:


Two of the three bugs fixed:


Please review.


More information about the core-libs-dev mailing list