Re: RFR: 8301721: lookup.findSpecial fails on Object method call from interface

2023-06-06 Thread Alan Bateman
On Mon, 5 Jun 2023 19:33:48 GMT, Mandy Chung 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 it

RFR: 8301721: lookup.findSpecial fails on Object method call from interface

2023-06-05 Thread Mandy Chung
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