summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/runtime/MethodInvocation.java
blob: 4fee5b3cf345713691b01b0cd23390474417e2c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// MethodInvocation.java - wrapper used by the interpreter.
// (the native method is implemented in interpret.cc)

/* Copyright (C) 1999  Red Hat, Inc.

   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);

}