summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/PR18116.java
blob: d582132b677f9ab0d7405d4ce81b2420d8297f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR18116.java - Test RegisterNatives with more complex signatures.

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

  public static native int doit (java.lang.String s);

  public static void main (String[] args)
  {
    System.out.println (doit ("Hello World!"));
  }
}