OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [final_method.java] - Rev 830

Go to most recent revision | Compare with Previous | Blame | View Log

// 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 ());
  }
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.