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] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Minimal test a non-static final method.
2
 
3
public 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
}

powered by: WebSVN 2.1.0

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