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

Alexey Pavlyutkin duke at openjdk.org
Tue Sep 20 06:32:02 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

This pull request has now been integrated.

Changeset: a0d9cc2d
Author:    Alexey Pavlyutkin <apavlyutkin at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.org/jdk13u-dev/commit/a0d9cc2d014b3175bfbb8d5b66680df8a827730c
Stats:     95 lines in 5 files changed: 95 ins; 0 del; 0 mod

8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint

Reviewed-by: yan
Backport-of: 0b8a0e2b58dbdd5c9553e502212d32c033a5efb5

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

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


More information about the jdk-updates-dev mailing list