jboolean handling in native JDK code - was : RE: 8211163: UNIX version of Java_java_io_Console_echo does not return a clean boolean

Andrew Haley aph at redhat.com
Fri Sep 28 17:27:22 UTC 2018

On 09/28/2018 05:32 PM, Phil Race wrote:
> _RequestWindowFocus is declared to return jboolean.
> So I don't think there's a nasty bug, just a whole lot of casting which might
> be better avoided by some additional overload of SyncCall() which accepts
> the function's real signature.

Yes, you're right. Thanks.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the jdk-dev mailing list