Retro68/gcc/libjava/testsuite/libjava.jni/final_method.java

18 lines
302 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
// 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 ());
}
}