This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix FFI return type for proxy classes
- From: Tom Tromey <tom at tromey dot com>
- To: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- Cc: "'gcc-patches\@gcc.gnu.org' \(gcc-patches\@gcc.gnu.org\)" <gcc-patches at gcc dot gnu dot org>, "java-patches\@gcc.gnu.org" <java-patches at gcc dot gnu dot org>, Tom Tromey <tom at tromey dot com>, "aurelien\@aurel32.net" <aurelien at aurel32 dot net>
- Date: Tue, 12 Jul 2016 11:05:39 -0600
- Subject: Re: [PATCH] Fix FFI return type for proxy classes
- Authentication-results: sourceware.org; auth=none
- References: <6D39441BF12EF246A7ABCE6654B023537E474A5F@HHMAIL01.hh.imgtec.org>
>>>>> "Matthew" == Matthew Fortune <Matthew.Fortune@imgtec.com> writes:
Matthew> Tested on: x86_64-pc-linux-gnu (default and -m32), mips-linux-gnu
Matthew> mipsel-linux-gnuabi64 with no regressions. The new test only failed
Matthew> on mips-linux-gnu prior to patching libjava.
Matthew> libjava/
Matthew> * java/lang/reflect/natVMProxy.cc (unbox): Use ffi_arg for
Matthew> integer return types smaller than a word.
Matthew> * testsuite/libjava.jar/ReturnInvocationHandler.java: New file.
Matthew> * testsuite/libjava.jar/ReturnProxyTest.jar: Likewise.
Matthew> * testsuite/libjava.jar/ReturnProxyTest.java: Likewise.
Matthew> * testsuite/libjava.jar/ReturnProxyTest.out: Likewise.
Matthew> * testsuite/libjava.jar/ReturnProxyTest.xfail: Likewise.
Matthew> * testsuite/libjava.jar/ReturnTypes.java: Likewise.
Matthew> * testsuite/libjava.jar/ReturnTypesImpl.java: Likewise.
Thanks for writing this.
This is ok.
Tom