summaryrefslogtreecommitdiff
path: root/Tests/JavaJavah/B.java
blob: d731f396ced0c1ef7f9d1202563bf6c8ff2e03b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class B
{
  public B()
    {
    }

    public native void printName();

    static {
        try {

            System.loadLibrary("B");

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