On Fri, 7 May 2021 18:58:02 GMT, Rafael Winterhalter <[email protected]> 
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 <[email protected]>
Committer: Joel Borggrén-Franck <[email protected]>
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

Reply via email to