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

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

XMLWordPrintable

    • tiger
    • x86, sparc
    • linux, solaris_8, windows_2000
    • Verified



      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: