summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/findclass.java
blob: b857538e6634b88b37fa2e497613cd063e7e985c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Test FindClass part of JNI.

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

  public static native Class doit (String name);

  public static void main (String[] args)
  {
    System.out.println ("" + doit ("java/lang/String"));
  }
}