--- old/src/java.base/share/classes/java/lang/reflect/Method.java 2019-06-07 22:41:47.758498274 -0700 +++ new/src/java.base/share/classes/java/lang/reflect/Method.java 2019-06-07 22:41:47.394498274 -0700 @@ -269,7 +269,7 @@ * *

If the return type is a parameterized type, * the {@code Type} object returned must accurately reflect - * the actual type parameters used in the source code. + * the type arguments used in the source code. * *

If the return type is a type variable or a parameterized type, it * is created. Otherwise, it is resolved. @@ -692,6 +692,7 @@ * @throws NullPointerException {@inheritDoc} * @since 1.5 */ + @Override public T getAnnotation(Class annotationClass) { return super.getAnnotation(annotationClass); } @@ -700,6 +701,7 @@ * {@inheritDoc} * @since 1.5 */ + @Override public Annotation[] getDeclaredAnnotations() { return super.getDeclaredAnnotations(); }