summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jni/final_method.java
blob: dcb684e0849740a6c57dd7e64582c5476b8a89db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Minimal test a non-static final method.

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

  public final native String meth ();

  public static void main (String[] args)
  {
    final_method fm = new final_method ();
    System.out.println (fm.meth ());
  }
}