RFR: 8266598: Exception values for AnnotationTypeMismatchException are not always informative

Rafael Winterhalter winterhalter at openjdk.java.net
Wed May 5 21:43:01 UTC 2021


This improves the messages that are provided by `AnnotationTypeMismatchException`s. The message provided by AnnotationTypeMismatchExceptions is deliberately undefined such that this should not break any contract.

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

Commit messages:
 - 8266598: Exception values for AnnotationTypeMismatchException are not always informative

Changes: https://git.openjdk.java.net/jdk/pull/3892/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3892&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266598
  Stats: 21 lines in 3 files changed: 12 ins; 3 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3892.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3892/head:pull/3892

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


More information about the core-libs-dev mailing list