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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [findclass.java] - Blame information for rev 790

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

Line No. Rev Author Line
1 765 jeremybenn
// Test FindClass part of JNI.
2
 
3
public class findclass
4
{
5
  static
6
  {
7
    System.loadLibrary ("findclass");
8
  }
9
 
10
  public static native Class doit (String name);
11
 
12
  public static void main (String[] args)
13
  {
14
    System.out.println ("" + doit ("java/lang/String"));
15
  }
16
}

powered by: WebSVN 2.1.0

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