RFR: 8266766: Arrays of types that cannot be an annotation member do not yield exceptions

Rafael Winterhalter winterhalter at openjdk.java.net
Wed Jun 9 10:52:51 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.

Link to CSR: https://bugs.openjdk.java.net/browse/JDK-8268447

-------------

PR: https://git.openjdk.java.net/jdk/pull/3925


More information about the core-libs-dev mailing list