src/share/native/java/lang/Throwable.c

Print this page

        

*** 42,52 **** * 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) { JVM_FillInStackTrace(env, throwable); return throwable; } --- 42,52 ---- * 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, int dummy) { JVM_FillInStackTrace(env, throwable); return throwable; }