From 703be24934151f4bd0e560ebaf3cb3441a9ac249 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Sat, 12 Mar 2005 17:00:38 +0100 Subject: [PATCH] stacktrace.cc (GetCallerInfo): Return nothing in case of SJLJ_EXCEPTIONS is defined. 2005-03-12 Andreas Tobler * stacktrace.cc (GetCallerInfo): Return nothing in case of SJLJ_EXCEPTIONS is defined. From-SVN: r96340 --- libjava/ChangeLog | 5 +++++ libjava/stacktrace.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 06c134fadb6..8cf4b5361ee 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2005-03-12 Andreas Tobler + + * stacktrace.cc (GetCallerInfo): Return nothing in case of + SJLJ_EXCEPTIONS is defined. + 2005-03-12 Ranjit Mathew * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201 diff --git a/libjava/stacktrace.cc b/libjava/stacktrace.cc index 0777d903a21..19123e23597 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 }