RFR: 8212961: [TESTBUG] vmTestbase/nsk/stress/jni/ native code cleanup [v2]

David Holmes dholmes at openjdk.java.net
Fri Jul 23 06:00:44 UTC 2021


On Fri, 23 Jul 2021 05:47:52 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress003.cpp line 89:
>> 
>>> 87:     } else {
>>> 88:       boolBuf[i] = JNI_FALSE;
>>> 89:     }
>> 
>> Shorten to `boolBuf[i] = (i % 2) ? JNI_TRUE : JNI_FALSE` ?
>
> Sure :)

but without the implicit boolean :)

-------------

PR: https://git.openjdk.java.net/jdk/pull/4882


More information about the hotspot-runtime-dev mailing list