test/java/lang/System/finalization/FinExit.sh

Print this page

        

*** 24,34 **** # # # We only want the first character, Windows might add CRLF ! x=`$TESTJAVA/bin/java ${TESTVMOPTS} -cp "$TESTCLASSES" FinExit | cut -c1` echo $x if [ "x$x" != "x1" ]; then echo On-exit finalizer invoked twice exit 1 else --- 24,34 ---- # # # We only want the first character, Windows might add CRLF ! x=`$TESTJAVA/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} -cp "$TESTCLASSES" FinExit | cut -c1` echo $x if [ "x$x" != "x1" ]; then echo On-exit finalizer invoked twice exit 1 else