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.

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

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

Changes: https://git.openjdk.java.net/jdk/pull/3925/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3925&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266766
  Stats: 130 lines in 2 files changed: 128 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3925.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3925/head:pull/3925

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

Reply via email to