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

TEST_BUG: java/lang/SecurityManager/RunStackWalk.sh script is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 5.0
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_8, windows_2000
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 01/30/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b14
      Testbase : RegTest-test
      Falling tests : java/lang/SecurityManager/RunStackWalk.sh

      RunSecurityWalk test Summary field reads:
      ...
       Test that 1.1-style security manager methods work as they
       should when code has and hasn't been granted AllPermission
      ...

      Here is a code fragment from java/lang/SecurityManager/RunStackWalk.sh script:
      ...
      028> ${TESTJAVA}${FILESEP}bin${FILESEP}java RunStackWalk false
      029> ${TESTJAVA}${FILESEP}bin${FILESEP}java -Djava.security.policy=${TESTSRC}${FILESEP}all.policy RunStackWalk true
      <EOF>
      ...

      The script returns java exit code of the line 29 execution.
      The script does not analyze the result of the line 28 execution, so really it
      tests 1.1-style security manager with AllPermission granted only.

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            smalkanisunw Seema Malkani (Inactive)
            Reporter:
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: