summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/findclass2.java
blob: f7c0996e19a8ee2e42297577d7259163338cc872 (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
// Test that FindClass initializes the class.

public class findclass2
{
  public static class inner
  {
    static
    {
      System.out.println("hello");
    }
  }

  public static native void searchClass();

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

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