JDK-6941529 : SharedRuntime::raw_exception_handler_for_return_address must reset thread MethodHandle flag
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-04-07
  • Updated: 2010-09-24
  • Resolved: 2010-04-21
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.
JDK 6 JDK 7 Other
6u21pFixed 7Fixed hs18Fixed
Description
During SPARC JSR 292 testing I hit a bug when an exception returned to the interpreter and the SP was wrong.  That happened because the is_method_handle_exception flag in thread was not reset and still true.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/93767e6a2dfd
08-04-2010

SUGGESTED FIX Reset the flag on method entry.
07-04-2010

PUBLIC COMMENTS Additionally with this fix I'd like to rename is_method_handle_exception to is_method_handle_return since that name fits better.
07-04-2010