On Mon, 5 Jun 2023 19:33:48 GMT, Mandy Chung <mch...@openjdk.org> wrote:
> Lookup.findSpecial fails on Object method call from an interface because of a > bug in the implementation calling `Class::getSuperclass` on an interface > which has no superclass. The implementation should only search the method > from its superclass only if it's a class. This patch is trivial and skip > the superclass search if it's an interface. This looks right, there's no superclass to search. ------------- Marked as reviewed by alanb (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/14319#pullrequestreview-1465328491