Integrated: 8349512: Duplicate PermittedSubclasses entries with doclint enabled
Liam Miller-Cushon
cushon at openjdk.org
Fri Feb 7 19:46:13 UTC 2025
On Fri, 7 Feb 2025 00:31:36 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
> This change avoids emitting duplicate `PermittedSubclasses` entries when `-Xdoclint` is enabled.
>
> `-Xdoclint` causes some trees to be re-attributed, and the second attribution was resulting in permitted subclasses being added again, and those side effects were not discarded. This fix causes `addPermittedSubclass` to not insert duplicate entries.
This pull request has now been integrated.
Changeset: bd9b24c0
Author: Liam Miller-Cushon <cushon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/bd9b24c0f8e0db88ae9714cdb355dcd56d802ab4
Stats: 36 lines in 2 files changed: 33 ins; 1 del; 2 mod
8349512: Duplicate PermittedSubclasses entries with doclint enabled
Reviewed-by: vromero
-------------
PR: https://git.openjdk.org/jdk/pull/23507
More information about the compiler-dev
mailing list