[jdk13u-dev] RFR: 8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint

Yuri Nesterenko yan at openjdk.org
Tue Sep 20 06:21:56 UTC 2022


On Mon, 19 Sep 2022 14:51:54 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> Hi! Here is backport of JDK-8266082 that fixes javac crash on unallowed annotation usage when running with -Xdoclint option. Original patch applied with the following changes:
> 
> - it patches DocCommentParser.parseParams() method instead of ReferenceParser.parseParams() cuz up to 13u class DocCommentParser relays on own implementation of the method
> 
> Verification (amd64/20.04LTS): tools/doclint/CrashInAnnotateTest.java (new test)
> Regression (amd64/20.04LTS): test/langtools

Marked as reviewed by yan (Reviewer).

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

PR: https://git.openjdk.org/jdk13u-dev/pull/410


More information about the jdk-updates-dev mailing list