Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8019583

[TESTBUG] runtime/7107135 always passes

    XMLWordPrintable

Details

    • b46

    Backports

      Description

        test/runtime/7107135/Test7107135.sh:
               87 echo Test changing of stack protection:
               88 echo ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} Test test-rw
               89 ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} Test test-rwx
               90
               91 if [ "$?" == "0" ]
               92 then
               93 echo
               94 echo ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} TestMT test-rwx
               95 ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} TestMT test-rwx
               96 fi
               97
               98 exit $?

        Even if java execution fails, exit code becomes zero after 'if' statement evaluation.

        Attachments

          Issue Links

            Activity

              People

                minqi Yumin Qi
                bmoloden Boris Molodenkov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: