mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 15:00:04 +08:00
18 lines
302 B
Java
18 lines
302 B
Java
|
// 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 ());
|
||
|
}
|
||
|
}
|