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

Reg-test TestDynamicPolicy.java Failing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta3
    • CPU:
      sparc
    • OS:
      solaris_7
    • Verification:
      Verified

      Description



      Name: as83306 Date: 09/27/2001

      Regression test java/security/Policy/TestDynamicPolicy.java fails with Merlin build 80 on sol2.7,
      host huangho.

       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
      #Test Results (version 2)
      #Thu Sep 20 16:30:41 PDT 2001
      #checksum:3be0485fba6b9a7b
      #-----testdescription-----
      $file=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b80/java/security/Policy/TestDynamicPolicy.java
      $root=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b80
      author=Gary Ellison
      keywords=bug4244271 othervm
      run=USER_SPECIFIED main/othervm/policy=setpolicy.jp TestDynamicPolicy\n
      source=TestDynamicPolicy.java
      title=New policy sometimes has no effect with no indication given

      #-----environment-----

      #-----testresult-----
      description=file:///net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b80/java/security/Policy/TestDynamicPolicy.java
      end=Thu Sep 20 16:30:41 PDT 2001
      environment=regtest
      execStatus=Failed. Unexpected exit from test [exit code: 1]
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Thu Sep 20 16:30:37 PDT 2001
      status=Failed. Unexpected exit from test [exit code: 1]
      test=java/security/Policy/TestDynamicPolicy.java
      work=/export0/results/regression/merlin/b80/huangho5.7-jth13-jdk14b80.09-20.14.30-ALL/java/security/Policy

      #section:script_messages
      ----------messages:(4/204)----------
      JDK under test: (/export0/java/jdk14b80)
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b80)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b80, mixed mode)

      #section:build
      ----------messages:(3/103)----------
      command: build TestDynamicPolicy
      reason: Named class compiled on demand
      elapsed time (seconds): 2.468
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/205)----------
      command: compile /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b80/java/security/Policy/TestDynamicPolicy.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.466
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/149)----------
      command: main TestDynamicPolicy
      reason: User specified action: run main/othervm/policy=setpolicy.jp TestDynamicPolicy
      elapsed time (seconds): 0.768
      ----------System.out:(1/13)----------
      Passed. OKAY
      ----------System.err:(10/642)----------
      STATUS:Passed.
      Exception in thread "main" java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:273)
      at java.security.AccessController.checkPermission(AccessController.java:404)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
      at java.lang.SecurityManager.checkExit(SecurityManager.java:765)
      at java.lang.Runtime.exit(Runtime.java:91)
      at java.lang.System.exit(System.java:716)
      at javasoft.sqe.javatest.Status.exit(Status.java:278)
      at com.sun.javatest.regtest.MainWrapper.main(MainWrapper.java:79)
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            rmartisunw Ramachandran Marti (Inactive)
            Reporter:
            apsmith Alan Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: