test/sun/misc/Cleaner/exitOnThrow.sh

Print this page

        

*** 27,36 **** --- 27,37 ---- # @test # @bug 4954921 # @summary Ensure that if a cleaner throws an exception then the VM exits # # @build ExitOnThrow + # @run shell exitOnThrow.sh # Command-line usage: sh exitOnThrow.sh /path/to/build if [ -z "$TESTJAVA" ]; then if [ $# -lt 1 ]; then exit 1; fi