re PR libgcj/18116 (JNI uses dot instead of slash as the package separator)
2005-02-14 Anthony Green <green@redhat.com> PR libgcj/18116 * testsuite/libjava.jni/PR18116.c: New file. * testsuite/libjava.jni/PR18116.java: New file. * testsuite/libjava.jni/PR18116.out: New file. From-SVN: r95014
This commit is contained in:
parent
92d2b330de
commit
d633cfe524
4 changed files with 60 additions and 0 deletions
16
libjava/testsuite/libjava.jni/PR18116.java
Normal file
16
libjava/testsuite/libjava.jni/PR18116.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
// PR18116.java - Test RegisterNatives with more complex signatures.
|
||||
|
||||
public class PR18116
|
||||
{
|
||||
static
|
||||
{
|
||||
System.loadLibrary ("PR18116");
|
||||
}
|
||||
|
||||
public static native int doit (java.lang.String s);
|
||||
|
||||
public static void main (String[] args)
|
||||
{
|
||||
System.out.println (doit ("Hello World!"));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue