RFR: 8266598: Exception values for AnnotationTypeMismatchException are not always informative [v3]
Joel Borggrén-Franck
jfranck at openjdk.java.net
Wed Jun 9 08:59:15 UTC 2021
On Sat, 8 May 2021 09:51:46 GMT, Rafael Winterhalter <winterhalter at openjdk.org> wrote:
>> 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.
>
> Rafael Winterhalter has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
Changes requested by jfranck (Reviewer).
test/jdk/java/lang/annotation/AnnotationTypeMismatchException/AnnotationTypeMismatchTest.java line 27:
> 25: * @test
> 26: * @bug 8228988
> 27: * @bug 8266598
@bug numbers are usually on the same line: "* @bug 8228988 8266598"
test/jdk/java/lang/annotation/AnnotationTypeMismatchException/EnumTypeMismatchTest.java line 27:
> 25: * @test
> 26: * @bug 8228988
> 27: * @bug 8266598
Same, here, single line
-------------
PR: https://git.openjdk.java.net/jdk/pull/3892
More information about the core-libs-dev
mailing list