summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/pr23739.java
blob: b2e54c5488bd93ac54e3fd72bb31853a863227ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
public class pr23739
{
  static
  {
    System.loadLibrary ("pr23739");
  }

  public static class A
  {
  }

  public static class B extends A
  {
  }

  static native void checkOrder (Class clazz1, Class clazz2);

  public static void main (String[] args)
  {
    checkOrder (A.class, B.class);
  }
}