< prev index next >
test/runtime/BoolReturn/NativeSmallIntCallsTest.java
Print this page
*** 23,33 ****
/* @test
* @bug 8149170
* @summary Test native functions return booleans as 0/1 but differently than java functions
* @modules java.base/jdk.internal.misc
! * @library /testlibrary
* @compile BoolConstructor.java
* @run main/native NativeSmallIntCallsTest
*/
// This test shows that returns from native calls for boolean truncate to JNI_TRUE if value != 0
--- 23,33 ----
/* @test
* @bug 8149170
* @summary Test native functions return booleans as 0/1 but differently than java functions
* @modules java.base/jdk.internal.misc
! * @library /test/lib
* @compile BoolConstructor.java
* @run main/native NativeSmallIntCallsTest
*/
// This test shows that returns from native calls for boolean truncate to JNI_TRUE if value != 0
< prev index next >