diff options
Diffstat (limited to 'libjava/gnu/gcj/runtime/MethodInvocation.java')
-rw-r--r-- | libjava/gnu/gcj/runtime/MethodInvocation.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/runtime/MethodInvocation.java b/libjava/gnu/gcj/runtime/MethodInvocation.java new file mode 100644 index 00000000000..d1664bae414 --- /dev/null +++ b/libjava/gnu/gcj/runtime/MethodInvocation.java @@ -0,0 +1,32 @@ +// MethodInvocation.java - wrapper used by the interpreter. +// (the native method is implemented in interpret.cc) + +/* Copyright (C) 1999 Cygnus Solutions + + This file is part of libgcj. + +This software is copyrighted work licensed under the terms of the +Libgcj License. Please consult the file "LIBGCJ_LICENSE" for +details. */ + +/* Author: Kresten Krab Thorup <krab@gnu.org> */ + +package gnu.gcj.runtime; + +import gnu.gcj.RawData; + +final class MethodInvocation { + + private static Throwable continue0 (RawData meth, RawData inv) + { + try { + continue1 (meth, inv); + } catch (Throwable ex) { + return ex; + } + return null; + } + + private static native void continue1 (RawData meth, RawData inv); + +} |