Fix the use of FFI closures in the java interpreter for integer returns
authorMatthew Fortune <matthew.fortune@imgtec.com>
Wed, 13 Jul 2016 21:34:35 +0000 (21:34 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Wed, 13 Jul 2016 21:34:35 +0000 (21:34 +0000)
commit845a4b727a88af8f4008e24e1a02ce49607bd91a
treeb789f4dfd03279d4cf8d6a4e9ab01430a7bb766d
parente383deac8ba094f612386a166239f33752fa5808
Fix the use of FFI closures in the java interpreter for integer returns

libjava/

* interpret-run.cc: Use ffi_arg for FFI integer return types.
* testsuite/libjava.jar/arraysort.java: New file.
* testsuite/libjava.jar/arraysort.jar: New file.
* testsuite/libjava.jar/arraysort.out: New file.
* testsuite/libjava.jar/arraysort.xfail: New file.

From-SVN: r238311
libjava/ChangeLog
libjava/interpret-run.cc
libjava/testsuite/libjava.jar/arraysort.jar [new file with mode: 0644]
libjava/testsuite/libjava.jar/arraysort.java [new file with mode: 0644]
libjava/testsuite/libjava.jar/arraysort.out [new file with mode: 0644]
libjava/testsuite/libjava.jar/arraysort.xfail [new file with mode: 0644]