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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Test that FindClass initializes the class.
2
 
3
public class findclass2
4
{
5
  public static class inner
6
  {
7
    static
8
    {
9
      System.out.println("hello");
10
    }
11
  }
12
 
13
  public static native void searchClass();
14
 
15
  static
16
  {
17
    System.loadLibrary("findclass2");
18
  }
19
 
20
  public static void main(String[] args)
21
  {
22
    searchClass();
23
  }
24
}

powered by: WebSVN 2.1.0

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