re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ffi_result before ffi_call)
PR libgcj/11951: * libjava.jni/pr11951.c: New file. * libjava.jni/pr11951.out: New file. * libjava.jni/pr11951.java: New file. From-SVN: r70543
This commit is contained in:
parent
303b74068a
commit
cd06983639
4 changed files with 38 additions and 0 deletions
14
libjava/testsuite/libjava.jni/pr11951.java
Normal file
14
libjava/testsuite/libjava.jni/pr11951.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
public class pr11951
|
||||
{
|
||||
public static Object dosomething()
|
||||
{
|
||||
throw new Error();
|
||||
}
|
||||
|
||||
public static native void nmethod();
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
nmethod();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue