Array of booleans

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Mar 18 15:31:12 UTC 2021


On 18/03/2021 15:28, forax at univ-mlv.fr wrote:
> It works with JNI, boolean is mapped into an unsigned 8 bits
> https://docs.oracle.com/en/java/javase/16/docs/specs/jni/types.html

Yeah - it seems to be a case of different specs pointing to different 
decisions :-)

If the format of booleans is truly unspecified at the JVMS level (which 
seems to be the case), then it seems like JNI is taking things a step 
too far?

Maurizio



More information about the panama-dev mailing list