Changeset 145


Ignore:
Timestamp:
Sep 5, 2010, 5:58:19 PM (15 years ago)
Author:
dmik
Message:

hotspot: Fixed a crash in the product release build: Odin's try/except emulation doesn't (and cannot) support break/return from try blocks so they must never be used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp

    r139 r145  
    24782478#define DEFINE_FAST_GETFIELD(Return,Fieldname,Result) \
    24792479Return JNICALL jni_fast_Get##Result##Field_wrapper(JNIEnv *env, jobject obj, jfieldID fieldID) { \
     2480  Return ret = 0; \
    24802481  __try { \
    2481     return (*JNI_FastGetField::jni_fast_Get##Result##Field_fp)(env, obj, fieldID); \
     2482    ret = (*JNI_FastGetField::jni_fast_Get##Result##Field_fp)(env, obj, fieldID); \
    24822483  } __except(fastJNIAccessorExceptionFilter((_EXCEPTION_POINTERS*)_exception_info())) { \
    24832484  } \
    2484   return 0; \
     2485  return ret; \
    24852486}
    24862487
Note: See TracChangeset for help on using the changeset viewer.