On Fri, 6 Sep 2024 12:51:38 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

> We do the same thing with illegal_access_error() where the arguments may not 
> match and there's a special case for this and no_such_method_error() in 
> dependencies. Are the compilers confused by this too?

If the compiler used the value from the itable, I think it could get confused.  
There are places in deoptimization for example, that use the callee signature 
instead of the call-site signature, to deal with signature mismatch caused by 
the invokedynamic appendix.

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

PR Comment: https://git.openjdk.org/jdk/pull/20874#issuecomment-2345203264

Reply via email to