< prev index next >
test/java/awt/font/JNICheck/JNICheck.sh
Print this page
*** 21,31 ****
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# @test
! # @bug 6430247 8130507 8020448
# @summary Tests that there are no JNI warnings.
# @compile JNICheck.java
# @run shell/timeout=300 JNICheck.sh
#
OS=`uname`
--- 21,31 ----
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# @test
! # @bug 6430247 8130507 8020448 8172813
# @summary Tests that there are no JNI warnings.
# @compile JNICheck.java
# @run shell/timeout=300 JNICheck.sh
#
OS=`uname`
*** 47,57 ****
else
JAVA_HOME=$TESTJAVA
fi
$JAVA_HOME/bin/java ${TESTVMOPTS} \
! -cp "${CP}" -Xcheck:jni JNICheck > "${CP}"/log.txt
# any messages logged may indicate a failure.
if [ -s "${CP}"/log.txt ]; then
echo "Test failed"
exit 1
--- 47,57 ----
else
JAVA_HOME=$TESTJAVA
fi
$JAVA_HOME/bin/java ${TESTVMOPTS} \
! -cp "${CP}" -Xcheck:jni JNICheck | grep -v SIG | grep -v Signal | grep -v CallStatic > "${CP}"/log.txt
# any messages logged may indicate a failure.
if [ -s "${CP}"/log.txt ]; then
echo "Test failed"
exit 1
< prev index next >