Loading... (original) (raw)

getAnnotatedReceiverType() returns wrong value for nested (static) classes, anonymous classes, local classes, and top-level classes. It should return null for Constructors of all kinds of classes except inner (non-static) classes.

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8056455 (reflect) Constructor.getAnnotatedReceiverType() returns wrong value

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8063814 (reflect) Constructor.getAnnotatedReceiverType() returns wrong value

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8070085 (reflect) Constructor.getAnnotatedReceiverType() returns wrong value

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8054984 (reflect) Constructor.getAnnotatedReceiverType() returns wrong value

duplicates

Bug - A problem which impairs or prevents the functions of the product. JDK-8046364 (reflect) specify Constructor.getAnnotatedReceiverType for all kinds of classes

relates to

Bug - A problem which impairs or prevents the functions of the product. JDK-8162500 Receiver annotations of inner classes of local classes in static context not found at runtime

Bug - A problem which impairs or prevents the functions of the product. JDK-8162501 getAnnotatedReceiverType of a local class constructor returns null

Bug - A problem which impairs or prevents the functions of the product. JDK-8039916 AnnotatedType.getType() of a Executable parameters may return wrong type

(3 relates to)