URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 765 |
Rev 783 |
// Minimal test a non-static final method.
|
// Minimal test a non-static final method.
|
|
|
public class final_method
|
public class final_method
|
{
|
{
|
static
|
static
|
{
|
{
|
System.loadLibrary ("final_method");
|
System.loadLibrary ("final_method");
|
}
|
}
|
|
|
public final native String meth ();
|
public final native String meth ();
|
|
|
public static void main (String[] args)
|
public static void main (String[] args)
|
{
|
{
|
final_method fm = new final_method ();
|
final_method fm = new final_method ();
|
System.out.println (fm.meth ());
|
System.out.println (fm.meth ());
|
}
|
}
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.