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

sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b30
    • OS:
      windows

      Backports

        Description

        #Test Results (version 2)
        #Fri Jul 05 02:22:35 GMT 2019
        #-----testdescription-----
        $file=C\:\\Users\\opc\\sandbox_keepme\\sdata\\install\\jdk\\13\\28\\src.full\\open\\test\\jdk\\sun\\net\\www\\protocol\\file\\DirPermissionDenied.java
        $root=C\:\\Users\\opc\\sandbox_keepme\\sdata\\install\\jdk\\13\\28\\src.full\\open\\test\\jdk
        keywords=bug6977851 testng
        library=/test/lib
        run=USER_SPECIFIED build DirPermissionDenied jdk.test.lib.process.* jdk.test.lib.util.FileUtils\r\nUSER_SPECIFIED testng DirPermissionDenied\r\n
        source=DirPermissionDenied.java
        title=NPE from FileURLConnection.connect

        #section:script_messages
        ----------messages:(37/6648)*----------
        JDK under test: ...\\windows-x64-open.jdk\\jdk-13
        openjdk version "13-ea" 2019-09-17
        OpenJDK Runtime Environment (build 13-ea+28)
        OpenJDK 64-Bit Server VM (build 13-ea+28, mixed mode, sharing)
        Library /test/lib; kind: packages
           source directory: ...\\open\\test\\lib
           class directory: ...\\jtreg_open_test_jdk_jdk_net\\classes\\12\\test\\lib
        ...
        warning: cannot list contents of directory ...\\scratch\\11\\DirPermissionDeniedDirectory
        Can't clean ...\\scratch\\11
        Test result (overridden): Passed. Execution successful

        ----------System.out:(19/689)----------
        [TestNG] Running:
          sun/net/www/protocol/file/DirPermissionDenied.java

        Command line: [chmod 333 DirPermissionDeniedDirectory]
        [2019-07-05T02:22:20.058642700Z] Gathering output for process 19216



        [2019-07-05T02:22:20.121108100Z] Waiting for completion for process 19216
        [2019-07-05T02:22:20.121108100Z] Waiting for completion finished for process 19216
        config DirPermissionDenied.setup(): success
        test DirPermissionDenied.doTest(): success
        config DirPermissionDenied.tearDown(): success

        ===============================================
        sun/net/www/protocol/file/DirPermissionDenied.java
        Total tests run: 1, Failures: 0, Skips: 0
        ===============================================

        ----------System.err:(3/38)----------

        JavaTest Message: Test complete.

        result: Passed. Execution successful


        test result: Error. failed to clean up files after test

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fyuan Frank Yuan
                  Reporter:
                  fyuan Frank Yuan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: