RFR: 8266766: Arrays of types that cannot be an annotation member do not yield exceptions
Rafael Winterhalter
winterhalter at openjdk.java.net
Sun Jun 6 21:19:03 UTC 2021
On Fri, 7 May 2021 18:58:02 GMT, Rafael Winterhalter <winterhalter at openjdk.org> wrote:
> If a type is changed from a type that can be a member of an annotation which is used in an array, changing it to a type that cannot be an array member will be treated as if the type is an annotation type. As a result, no exception proxy is created and the type is returned as if it was correctly defined.
Reopening PR as it is still under review.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3925
More information about the core-libs-dev
mailing list