This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][C++] Make __java_boolean a true bool (PR 33887)


>>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:

Ian> Granted this idea that there are two different boolean types is rather
Ian> weird, but if I understand correctly this is in fact what is
Ian> happening.

FWIW -- jboolean is actually defined by the platform's JNI
implementation.  Both g++ and gcj have to agree, but they also must
agree with other VMs on the platform.  This is true because JNI is
intended to be binary compatible across VMs, and because libgcj uses
the same types for CNI and JNI.

I don't know how jboolean is defined on Darwin.  Perhaps someone with
this platform and the Sun VM could say.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]