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

api/java_io/File/index.html#GetXXXSpace fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b83
    • CPU:
      generic, x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      JCK : runtime b14
      J2SE : FAIL - b63
                       PASS - b62
            
      Platform[s] : FAIL - windows-i586, windows-amd64
                       [PASS] -not windows

      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests:
      ===============
      api/java_io/File/index.html#GetXXXSpace[getFreeSpace2004]
      api/java_io/File/index.html#GetXXXSpace[getFreeSpace2005]
      api/java_io/File/index.html#GetXXXSpace[getFreeSpace2007]
      api/java_io/File/index.html#GetXXXSpace[getTotalSpace2001]
      api/java_io/File/index.html#GetXXXSpace[getTotalSpace2002]
      api/java_io/File/index.html#GetXXXSpace[getUsableSpace2008]
      api/java_io/File/index.html#GetXXXSpace[getUsableSpace2009]

      jtr file location:
      ==================
      attached

      How to reproduce:
      ====================
      JAVA=Z:/Links/stt/jdk_promotions/JDK6.0/b63/binaries/windows-i586/jre1.6.0 #put path to java
      JCK=Z:/Links/stt/jck_promotions/6.0/beta/b14/binaries/JCK-runtime-60 #put path to jck here
      WORKDIR=Z:/tmp

      $JAVA/bin/java.exe -Djava.security.policy=$JCK/lib/jck.policy -Xcheck:jni -Xfuture -classpath $JCK/classes -Djava.security.policy=$JCK/lib/jck.policy javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests -TestCaseID ALL -TestURL file:///$JCK/tests/api/java_io/File/index.html#GetXXXSpace -TestWorkDirURL file:///$WORKDIR -TestURL file:///$JCK/tests/api/java_io/File/index.html#GetXXXSpace -TestWorkDirURL file:///$WORKDIR

      Test output:
      =============
      getTotalSpace2001: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile read)
      getTotalSpace2002: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile4012.tmp read)
      getTotalSpace2003: Passed. OKAY.
      getFreeSpace2004: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile read)
      getFreeSpace2005: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile4013.tmp read)
      getFreeSpace2006: Passed. OKAY.
      getFreeSpace2007: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File read)
      getUsableSpace2008: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile read)
      getUsableSpace2009: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile4014.tmp read)
      getUsableSpace2010: Passed. OKAY.
      STATUS:Failed.test cases: 10; passed: 3; failed: 7; first test case failure: getTotalSpace2001
      ==

      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getTotalSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$1.run(GetXXXSpaceTests.java:74)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getTotalSpace2001(GetXXXSpaceTests.java:82)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile4012.tmp read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getTotalSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$2.run(GetXXXSpaceTests.java:102)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getTotalSpace2002(GetXXXSpaceTests.java:117)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getFreeSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$4.run(GetXXXSpaceTests.java:171)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getFreeSpace2004(GetXXXSpaceTests.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile4013.tmp read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getFreeSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$5.run(GetXXXSpaceTests.java:199)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getFreeSpace2005(GetXXXSpaceTests.java:214)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getTotalSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$7.run(GetXXXSpaceTests.java:268)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getFreeSpace2007(GetXXXSpaceTests.java:285)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getUsableSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$8.run(GetXXXSpaceTests.java:305)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getUsableSpace2008(GetXXXSpaceTests.java:313)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      java.security.AccessControlException: access denied (java.io.FilePermission Z:\\Links\\stt\\jck_workspace\\mustang\\b63\\jck\\WinXPx64Pro_AMD64-d64-jck-6.0-runtime\\workdir\\api\\java_io\\File\\tmpFile4014.tmp read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at java.io.WinNTFileSystem.getSpace(Unknown Source)
      at java.io.File.getUsableSpace(Unknown Source)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests$9.run(GetXXXSpaceTests.java:333)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.getUsableSpace2009(GetXXXSpaceTests.java:348)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.io.File.GetXXXSpaceTests.main(GetXXXSpaceTests.java:54)
      result: Failed. test cases: 10; passed: 3; failed: 7; first test case failure: getTotalSpace2001


      Specific Machine Info:
      =====================
      windows amd64 or windows-i586

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iris Iris Clark
              Reporter:
              dtoporovsunw Denis Toporov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: