summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/pr11951.java
blob: e481503ab59165564dc962fa236aa78d45fff331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class pr11951
{
  public static Object dosomething()
  {
    throw new Error();
  }

  public static native void nmethod();

  public static void main(String[] args)
  {
    nmethod();
  }

  static {
    System.loadLibrary("pr11951");
  }  
}