< prev index next >

src/java.base/share/native/libjava/Throwable.c

Print this page

        

*** 42,51 **** * usually called automatically when the exception is created but it * may also be called explicitly by the user. This routine returns * `this' so you can write 'throw e.fillInStackTrace();' */ JNIEXPORT jobject JNICALL ! Java_java_lang_Throwable_fillInStackTrace(JNIEnv *env, jobject throwable, jint dummy) { ! JVM_FillInStackTrace(env, throwable); return throwable; } --- 42,51 ---- * usually called automatically when the exception is created but it * may also be called explicitly by the user. This routine returns * `this' so you can write 'throw e.fillInStackTrace();' */ JNIEXPORT jobject JNICALL ! Java_java_lang_Throwable_fillInStackTrace(JNIEnv *env, jobject throwable, jobject contScope, jint dummy) { ! JVM_FillInStackTrace(env, throwable, contScope); return throwable; }
< prev index next >