RFR: 8174840: Elements.overrides does not check the return type of the methods

Chen Liang liach at openjdk.org
Mon Jan 6 21:52:36 UTC 2025


On Mon, 6 Jan 2025 19:12:28 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Please review this PR to clarify the documentation of `Elements.overrides` through an `@apiNote`, this PR is essentially a doc-only change. This PR supersedes https://github.com/openjdk/jdk/pull/22244.
>> 
>> TIA.
>
> test/langtools/tools/javac/processing/model/util/elements/overrides/S.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
> 
> Is the beginning copyright year 2023 correct?

Thanks for the verification.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22920#discussion_r1904672962


More information about the compiler-dev mailing list