summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/register.java
blob: 0c0cbf628911a2effdae7d6c3e198f3b668072c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// register.java - Test RegisterNatives.

public class register
{
  static
  {
    System.loadLibrary ("register");
  }

  public static native int doit (int z);

  public static void main (String[] args)
  {
    System.out.println (doit (24));
  }
}