OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* testsuite/libjava.jni/init.c: New file.
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.jni
/
PR18116.java
1
// PR18116.java - Test RegisterNatives with more complex signatures.
2
3
public class PR18116
4
{
5
static
6
{
7
System.loadLibrary ("PR18116");
8
}
9
10
public static native int doit (java.lang.String s);
11
12
public static void main (String[] args)
13
{
14
System.out.println (doit ("Hello World!"));
15
}
16
}