git: openjdk/jdk: master: 8174840: Elements.overrides does not check the return type of the methods

Nizar Benalla nbenalla at openjdk.org
Mon May 5 21:53:26 UTC 2025


Changeset: 606f2012
Branch: master
Author:    Nizar Benalla <nbenalla at openjdk.org>
Date:      2025-05-05 21:52:25 +0000
URL:       https://git.openjdk.org/jdk/commit/606f2012b07855b90c4669356857060dcb65cae4

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

Co-authored-by: Pavel Rappo <prappo at openjdk.org>
Reviewed-by: liach, darcy

! src/java.compiler/share/classes/javax/lang/model/util/Elements.java
+ test/langtools/tools/javac/processing/model/util/elements/overrides/S.java
+ test/langtools/tools/javac/processing/model/util/elements/overrides/TestOverrides.java



More information about the jdk-changes mailing list