summaryrefslogtreecommitdiffstats
path: root/Tests/JavaNativeHeaders/D.java
blob: 449c0df2de9009e431d83b88f6c540be7f57ca80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class D
{
  public D()
    {
    }

    public native void printName();

    static {
        try {

            System.loadLibrary("D");

        } catch (UnsatisfiedLinkError e) {
            System.err.println("Native code library failed to load.\n" + e);
            System.exit(1);
        }
    }
}