< prev index next >

src/hotspot/share/classfile/javaClasses.cpp

Print this page
rev 55090 : secret-sfac

*** 2525,2536 **** } if (!skip_throwableInit_check) { assert(skip_fillInStackTrace_check, "logic error in backtrace filtering"); // skip <init> methods of the exception class and superclasses ! // This is simlar to classic VM. ! if (method->name() == vmSymbols::object_initializer_name() && throwable->is_a(method->method_holder())) { continue; } else { // there are none or we've seen them all - either way stop checking skip_throwableInit_check = true; --- 2525,2536 ---- } if (!skip_throwableInit_check) { assert(skip_fillInStackTrace_check, "logic error in backtrace filtering"); // skip <init> methods of the exception class and superclasses ! // This is similar to classic VM (before HotSpot). ! if (method->is_object_constructor() && throwable->is_a(method->method_holder())) { continue; } else { // there are none or we've seen them all - either way stop checking skip_throwableInit_check = true;
< prev index next >