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

closed/java/lang/SecurityManager/CheckMemberAccess.java fails on win

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 7
    • security-libs

      Testsuite name: regression j2se
      test: closed/java/lang/SecurityManager/CheckMemberAccess.java
      JDK/JRE tested: jdk 7 b107
      OS/architecture: windows - i586
      Reproducible: Always
      Reproducible on machine: kendo.russia

      Is it a platform specific regression: N
      Is it a Regression: N

      Test run log location:
      [C:/JQA/regression/7b107] lang/SecurityManager/CheckMemberAccess.jtr <
      #Test Results (version 2)
      #Mon Sep 06 16:18:06 MSD 2010
      #checksum:2b86c87af1f5af8d
      #-----testdescription-----
      $file=K:\\regression\\workspaces\\1.7.0\\1.7.0b107\\j2se\\test\\closed\\java\\la
      ng\\SecurityManager\\CheckMemberAccess.java
      $root=K:\\regression\\workspaces\\1.7.0\\1.7.0b107\\j2se\\test
      keywords=bug4170612 closed-security othervm
      run=USER_SPECIFIED main/othervm CheckMemberAccess\r\n
      source=CheckMemberAccess.java
      title=Test that we are able to install the default security manager and only get
       declared methods from clases in our class loader by default.

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

      #-----testresult-----
      description=file:///K:/regression/workspaces/1.7.0/1.7.0b107/j2se/test/closed/ja
      va/lang/SecurityManager/CheckMemberAccess.java
      end=Mon Sep 06 16:18:06 MSD 2010
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.Exception
      : test failed. didn't catch exception
      javatestOS=Windows XP 5.1 (x86)
      javatestVersion=3.2.2_03
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Mon Sep 06 16:18:04 MSD 2010
      test=closed/java/lang/SecurityManager/CheckMemberAccess.java
      work=C:\\JQA\\regression\\7b107\\cur\\work\\closed\\java\\lang\\SecurityManager

      #section:script_messages
      ----------messages:(1/42)*----------
      JDK under test: C:\\jdk\\7b107\\jdk1.7.0

      #section:build
      ----------messages:(3/105)----------
      command: build CheckMemberAccess
      reason: Named class compiled on demand
      elapsed time (seconds): 1.141
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/218)*----------
      command: compile K:\\regression\\workspaces\\1.7.0\\1.7.0b107\\j2se\\test\\close
      d\\java\\lang\\SecurityManager\\CheckMemberAccess.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.109
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/131)----------
      command: main CheckMemberAccess
      reason: User specified action: run main/othervm CheckMemberAccess
      elapsed time (seconds): 0.25
      ----------System.out:(0/0)----------
      ----------System.err:(13/763)----------
      java.lang.Exception: test failed. didn't catch exception
              at CheckMemberAccess.main(CheckMemberAccess.java:28)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:613)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
      96)
              at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.Exception: test failed. didn't
       catch exception
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: test failed. didn't c
      atch exception
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: t
      est failed. didn't catch exception


      test result: Failed. Execution failed: `main' threw exception: java.lang.Excepti
      on: test failed. didn't catch exception



      Steps to reproduce:

      [C:/JQA/regression/7b107] /javac CheckMemberAccess.java <
      [C:/JQA/regression/7b107] /java CheckMemberAccess <
      Exception in thread "main" java.lang.Exception: test failed. didn't catch except
      ion
              at CheckMemberAccess.main(CheckMemberAccess.java:28)

            Unassigned Unassigned
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: