source: trunk/gcc/libjava/testsuite/libjava.jni/final_method.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 302 bytes
Line 
1// Minimal test a non-static final method.
2
3public class final_method
4{
5 static
6 {
7 System.loadLibrary ("final_method");
8 }
9
10 public final native String meth ();
11
12 public static void main (String[] args)
13 {
14 final_method fm = new final_method ();
15 System.out.println (fm.meth ());
16 }
17}
Note: See TracBrowser for help on using the repository browser.