equal
deleted
inserted
replaced
990 } |
990 } |
991 } |
991 } |
992 } |
992 } |
993 |
993 |
994 Rewriter::rewrite(scratch_class, THREAD); |
994 Rewriter::rewrite(scratch_class, THREAD); |
|
995 if (!HAS_PENDING_EXCEPTION) { |
|
996 Rewriter::relocate_and_link(scratch_class, THREAD); |
|
997 } |
995 if (HAS_PENDING_EXCEPTION) { |
998 if (HAS_PENDING_EXCEPTION) { |
996 Symbol* ex_name = PENDING_EXCEPTION->klass()->klass_part()->name(); |
999 Symbol* ex_name = PENDING_EXCEPTION->klass()->klass_part()->name(); |
997 CLEAR_PENDING_EXCEPTION; |
1000 CLEAR_PENDING_EXCEPTION; |
998 if (ex_name == vmSymbols::java_lang_OutOfMemoryError()) { |
1001 if (ex_name == vmSymbols::java_lang_OutOfMemoryError()) { |
999 return JVMTI_ERROR_OUT_OF_MEMORY; |
1002 return JVMTI_ERROR_OUT_OF_MEMORY; |