|
Last change
on this file since 1392 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
272 bytes
|
| Line | |
|---|
| 1 | // 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 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.