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

Rafael Winterhalter winterhalter at openjdk.java.net
Thu Jun 10 12:06:23 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.

This pull request has now been integrated.

Changeset: 09243822
Author:    Rafael Winterhalter <winterhalter at openjdk.org>
Committer: Joel Borggrén-Franck <jfranck at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/09243822ebcca611b04f94ece5afba183723cf74
Stats:     143 lines in 2 files changed: 141 ins; 1 del; 1 mod

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

Reviewed-by: darcy, jfranck

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

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


More information about the core-libs-dev mailing list