-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
14, 15
Default build fails on x86_32 and arm32:
* For target support_test_jdk_jtreg_native_support_libNativeAccess_libNativeAccess.o:
/home/buildbot/worker/jdk14-linux/build/test/jdk/java/foreign/libNativeAccess.c: In function 'Java_TestNative_getByteRaw':
/home/buildbot/worker/jdk14-linux/build/test/jdk/java/foreign/libNativeAccess.c:30:18: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jbyte *arr = (jbyte*)addr;
^
/home/buildbot/worker/jdk14-linux/build/test/jdk/java/foreign/libNativeAccess.c: In function 'Java_TestNative_getByteBuffer':
/home/buildbot/worker/jdk14-linux/build/test/jdk/java/foreign/libNativeAccess.c:36:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jlong addr = (jlong)(*env)->GetDirectBufferAddress(env, buf);
- duplicates
-
JDK-8236634 Memory Access API tests fail on 32-bit
- Resolved
- relates to
-
JDK-8236634 Memory Access API tests fail on 32-bit
- Resolved
-
JDK-8234049 Implementation of Memory Access API (Incubator)
- Resolved