hg: jdk/sandbox: 8198526: getAnnotatedOwnerType does not handle static nested classes correctly

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Dec 20 18:00:26 UTC 2018


Changeset: 74d33d22a8df
Author:    cushon
Date:      2018-12-07 16:56 -0800
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/74d33d22a8df

8198526: getAnnotatedOwnerType does not handle static nested classes correctly
Reviewed-by: jfranck

! src/java.base/share/classes/sun/reflect/annotation/AnnotatedTypeFactory.java
! src/java.base/share/classes/sun/reflect/annotation/TypeAnnotation.java
+ test/jdk/java/lang/annotation/typeAnnotations/GetAnnotatedNestedSuperclass.java
! test/jdk/java/lang/annotation/typeAnnotations/GetAnnotatedOwnerType.java



More information about the jdk-sandbox-changes mailing list