mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
25 lines
338 B
Java
25 lines
338 B
Java
|
// Test that FindClass initializes the class.
|
||
|
|
||
|
public class findclass2
|
||
|
{
|
||
|
public static class inner
|
||
|
{
|
||
|
static
|
||
|
{
|
||
|
System.out.println("hello");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static native void searchClass();
|
||
|
|
||
|
static
|
||
|
{
|
||
|
System.loadLibrary("findclass2");
|
||
|
}
|
||
|
|
||
|
public static void main(String[] args)
|
||
|
{
|
||
|
searchClass();
|
||
|
}
|
||
|
}
|