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

Print this page

        

*** 22,32 **** # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # ! x=`$TESTJAVA/bin/java -cp $TESTCLASSES FinExit` echo $x if [ "x$x" != "x1" ]; then echo On-exit finalizer invoked twice exit 1 else --- 22,34 ---- # CA 95054 USA or visit www.sun.com if you need additional information or # have any questions. # # ! ! # We only want the first character, Windows might add CRLF ! x=`$TESTJAVA/bin/java -cp "$TESTCLASSES" FinExit | cut -c1` echo $x if [ "x$x" != "x1" ]; then echo On-exit finalizer invoked twice exit 1 else