mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-03 22:06:50 +00:00
17 lines
272 B
Java
17 lines
272 B
Java
|
// Test FindClass part of JNI.
|
||
|
|
||
|
public class findclass
|
||
|
{
|
||
|
static
|
||
|
{
|
||
|
System.loadLibrary ("findclass");
|
||
|
}
|
||
|
|
||
|
public static native Class doit (String name);
|
||
|
|
||
|
public static void main (String[] args)
|
||
|
{
|
||
|
System.out.println ("" + doit ("java/lang/String"));
|
||
|
}
|
||
|
}
|