diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 06c134fadb6697dd0ad9210f5f8c682bae938d56..8cf4b5361eed8cf30a1c3108f9f0e1422f9b502c 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
+
+	* stacktrace.cc (GetCallerInfo): Return nothing in case of
+	SJLJ_EXCEPTIONS is defined.
+
 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
 
 	* testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
diff --git a/libjava/stacktrace.cc b/libjava/stacktrace.cc
index 0777d903a2173fa48dedd18252f6ee0761f0aa99..19123e235970451809683ed3b9d2415c88017ed0 100644
--- a/libjava/stacktrace.cc
+++ b/libjava/stacktrace.cc
@@ -429,7 +429,7 @@ _Jv_StackTrace::GetCallerInfo (jclass checkClass, jclass *caller_class,
   if (caller_meth)
     *caller_meth = trace_data.foundMeth;
 #else
-  return NULL;
+  return;
 #endif
 }