Filed By : J2SE-SQA [###@###.###
JDK : J2SE 1.4.1-internal-dalem_15_apr_2002_10_04
JCK : jck1.4-b17
Platform[s] : RH Linux 7.2
switch/Mode : -Xinterpreter -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: vm/jni/GetSetArrayRegion/gsar001/gsar00101m6/gsar00101m6.html
vm/jni/GetSetArrayRegion/gsar001/gsar00101m14/gsar00101m14.html
JNI functions GetIntArrayRegion,SetIntArrayRegion seem to fail attempting to get
and set region of integer array. They work fine with other primitive types.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/jni/GetSetArrayRegion/gsar001/gsar00101m6/gsar00101m6.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/jni/GetSetArrayRegion/gsar001/gsar00101m6/gsar00101m6.c
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/jni/GetSetArrayRegion/gsar001/gsar00101m14/gsar00101m14.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/jni/GetSetArrayRegion/gsar001/gsar00101m14/gsar00101m14.c
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/PIT/itanium/jck14/linux/workDir/vm/jni/GetSetArrayRegion/gsar001/gsar00101m6/gsar00101m6.jtr
/net/jtgb4u4c.eng/export/sail15/results/hopper/PIT/itanium/jck14/linux/workDir/vm/jni/GetSetArrayRegion/gsar001/gsar00101m14/gsar00101m14.jtr
How to reproduce:
=================
Run the following script (you may need to change JCK,JDK and JNI_PATH variables)
--- script start ---
#!/bin/sh
JCK=/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14
JAVA_HOME=/net/jtgb4u4c/export/sail16/a2/JAVA/j2sdk1.4.1
JNI_PATH=/net/jtgb4u4c.sfbay/export/sail16/a2/JNI/jck14/linux-ia64
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${JNI_PATH}
export LD_LIBRARY_PATH
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
executeClass="javasoft.sqe.tests.vm.jni.gsar001.gsar00101m6.gsar00101m6 -platform.nativeCodeSupported true"
switches="-Xinterpreter -Xfuture"
$JAVA_HOME/bin/java ${switches} -showversion -cp ${CLASSPATH} ${executeClass}
echo $?
--- script end ---
Test output:
============
C code error report: Invalid array region copy!
Invalid final
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid public
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid package
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid private
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid protected
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid transient
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid volatile
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid within interface
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid inherited
C code error report: Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid array region copy!
Invalid inherited
97
Specific Machine Info:
======================
Hostname: jcc-itanium-01
OS: Linux RH 7.2
- duplicates
-
JDK-4678350 LIN64: JCK1.4 vm/jni/GetReleaseArrayElements/grae001/grae00101m6/grae00101m6.htm
- Closed