JDK-8042593 : redefining method used by multiple MethodHandles crashes VM
  • Type: Backport
  • Backport of: JDK-8042235
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7u45,8,9
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-05-07
  • Updated: 2019-09-13
  • Resolved: 2015-01-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u80 b05Fixed 9Fixed
verified by jtreg hotspot/test/compiler/jsr292/RedefineMethodUsedByMultipleMethodHandlesNoASM.java for prev build: TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: failed, fooMH1 invoke gets 'foo128' -------------------------------------------------- Test results: failed: 1 for build with fix: TEST RESULT: Passed. Execution successful -------------------------------------------------- Test results: passed: 1

Main bug was re-opened and fixed separately

Closing as duplicate of JDK-8013267. If it turns out JDK-8013267 cannot be backported to 7u we can reopen this bug.

I'm unsure if we can easily backport the fix for JDK-8013267.