This change handles redefinition during method resolution, but returning the new method. It's not needed to reresolve the invocation. See the bug for more information.
Tested with tier1-3 and tier8 on linux-x64-debug and macos-x64-debug, and running the failing tests 100x without failure. Thank you to Serguei for confirming the testing. ------------- Commit messages: - 8245446: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.java crash intermittently Changes: https://git.openjdk.java.net/jdk/pull/1717/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1717&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8245446 Stats: 22 lines in 1 file changed: 2 ins; 12 del; 8 mod Patch: https://git.openjdk.java.net/jdk/pull/1717.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1717/head:pull/1717 PR: https://git.openjdk.java.net/jdk/pull/1717