-
Bug
-
Resolution: Fixed
-
P4
-
repo-valhalla
-
generic
-
generic
After the introduction of the two new top interface types viz IdentityObject and InlineObject that implicitly get injected, the following tier1 tests fail:
java/lang/annotation/TypeAnnotationReflection.java
java/lang/annotation/typeAnnotations/GetAnnotatedInterfaces.java
java/lang/reflect/Generics/TestC1.java
java/lang/reflect/Generics/TestC2.java
This is because java.lang.Class.getGenericInterfaces() and
java.lang.Class.getAnnotatedInterfaces() and
java.lang.Class.getInterfaces() now start exposing the injected interface.
At least in the case of java.lang.Class.getAnnotatedInterfaces(),
the present specification may call for the injected interface to be suppressed:
("<p> If this {@code Class} object represents a class or interface whose
* declaration does not explicitly indicate any annotated superinterfaces,
* the return value is an array of length 0.")
Bsaically this ticket is raised to figure out what is the right thing to do from an API's standpoint and adjust the API/tests accordingly.
java/lang/annotation/TypeAnnotationReflection.java
java/lang/annotation/typeAnnotations/GetAnnotatedInterfaces.java
java/lang/reflect/Generics/TestC1.java
java/lang/reflect/Generics/TestC2.java
This is because java.lang.Class.getGenericInterfaces() and
java.lang.Class.getAnnotatedInterfaces() and
java.lang.Class.getInterfaces() now start exposing the injected interface.
At least in the case of java.lang.Class.getAnnotatedInterfaces(),
the present specification may call for the injected interface to be suppressed:
("<p> If this {@code Class} object represents a class or interface whose
* declaration does not explicitly indicate any annotated superinterfaces,
* the return value is an array of length 0.")
Bsaically this ticket is raised to figure out what is the right thing to do from an API's standpoint and adjust the API/tests accordingly.
- relates to
-
JDK-8242900 [lworld] Allow an inline type to declare a superclass that meets specified restrictions
-
- Resolved
-
-
JDK-8237069 [lworld] Introduce and wire-in the new top interfaces
-
- Resolved
-