Projects
openEuler:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:Test8167409.sh-fails-to-run-wi...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:Test8167409.sh-fails-to-run-with-32bit-jdk-on-64bit-.patch of Package openjdk-1.8.0
From ae2c3958cb7e238c1112de18e216f82b72771db0 Mon Sep 17 00:00:00 2001 Date: Fri, 22 Jan 2021 16:23:19 +0800 Subject: Test8167409.sh fails to run with 32bit jdk on 64bit system Summary: <test case>: Test8167409.sh fails to run with 32bit jdk on 64bit system LLT: jdk8u/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh --- .../criticalnatives/argumentcorruption/Test8167409.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh b/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh index e2de2d3e55..7d0431980e 100644 --- a/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh +++ b/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh @@ -62,6 +62,11 @@ case "$OS" in ;; esac +${TESTJAVA}${FS}bin${FS}java -XshowSettings 2>&1 | grep sun.arch.data.model | grep 32 +if [ 0 -eq $? ] ; then + M32="-m32" +fi + # CriticalJNINatives is not supported for aarch64 if [ $VM_CPU = "aarch64" ]; then echo "Test Passed" @@ -73,7 +78,7 @@ THIS_DIR=. cp ${TESTSRC}${FS}*.java ${THIS_DIR} ${TESTJAVA}${FS}bin${FS}javac *.java -$cc_cmd ${CFLAGBITS} -fPIC -shared -o libCNCheckLongArgs.so \ +$cc_cmd ${M32} ${CFLAGBITS} -fPIC -shared -o libCNCheckLongArgs.so \ -I${TESTJAVA}${FS}include -I${TESTJAVA}${FS}include${FS}linux \ ${TESTSRC}${FS}libCNCheckLongArgs.c -- 2.19.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2