hotspot/test/runtime/BoolReturn/NativeSmallIntCallsTest.java
changeset 40631 ed82623d7831
parent 38152 80e5da81fb2c
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
    23 
    23 
    24 /* @test
    24 /* @test
    25  * @bug 8149170
    25  * @bug 8149170
    26  * @summary Test native functions return booleans as 0/1 but differently than java functions
    26  * @summary Test native functions return booleans as 0/1 but differently than java functions
    27  * @modules java.base/jdk.internal.misc
    27  * @modules java.base/jdk.internal.misc
    28  * @library /testlibrary
    28  * @library /test/lib
    29  * @compile BoolConstructor.java
    29  * @compile BoolConstructor.java
    30  * @run main/native NativeSmallIntCallsTest
    30  * @run main/native NativeSmallIntCallsTest
    31  */
    31  */
    32 
    32 
    33 // This test shows that returns from native calls for boolean truncate to JNI_TRUE if value != 0
    33 // This test shows that returns from native calls for boolean truncate to JNI_TRUE if value != 0