RFR: 8272564: Incorrect attribution of method invocations of Object methods on interfaces
Jan Lahoda
jlahoda at openjdk.java.net
Thu Aug 19 12:57:00 UTC 2021
On Wed, 18 Aug 2021 18:55:28 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> I think that this one deserves a CSR, plus please consider also running the JCK tests just to double check
Thanks, I've started to file the CSR here, please take a look:
https://bugs.openjdk.java.net/browse/JDK-8272564
> question shouldn't field `supertype_field` in ClassType be assigned something different than j.l.Objet for interfaces with no super interface after your change?
Not having interfaces "subclass" `j.l.Object` would be an alternative variant of the fix (it would probably remove the need to these changes altogether). In my experiments, it seemed quite complex to do, however. I can try again, if desired.
Thanks for the comments!
-------------
PR: https://git.openjdk.java.net/jdk/pull/5165
More information about the compiler-dev
mailing list