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

Rafael Winterhalter winterhalter at openjdk.java.net
Thu Jun 10 08:29:46 UTC 2021


> 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.

Rafael Winterhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains one additional commit since the last revision:

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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3925/files
  - new: https://git.openjdk.java.net/jdk/pull/3925/files/c812a4c4..b51dafbf

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3925&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3925&range=02-03

  Stats: 1236 lines in 63 files changed: 823 ins; 166 del; 247 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


More information about the core-libs-dev mailing list