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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1994, 2000, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 21,36 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ - /* - * Implementation of class Throwable - * - * former classruntime.c, Wed Jun 26 18:43:20 1991 - */ - #include <stdio.h> #include <signal.h> #include "jni.h" #include "jvm.h" --- 21,30 ----
*** 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; } --- 36,46 ---- * 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_fillInStackTrace0(JNIEnv *env, jobject throwable) { JVM_FillInStackTrace(env, throwable); return throwable; }