On Fri, 16 May 2025 12:18:42 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

> In the future maybe we could throw NoSuchMethodError if you try to create a 
> jmethodID out of an obsolete method and remove all this code. But that's not 
> in this change.

Hmmm... I'm rusty with redefinition, but I think there are legitimate scenarios 
where is "okay"
to call an obsolete method. I believe it has to do with an in-progress call to 
a method being
redefined and you might get the obsolete method or the new method depending on 
timing.

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

PR Comment: https://git.openjdk.org/jdk/pull/25267#issuecomment-2971451618

Reply via email to