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

[TESTBUG] runtime/7107135 always passes

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      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

                Assignee:
                minqi Yumin Qi (Inactive)
                Reporter:
                bmoloden Boris Molodenkov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: