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

java/net/HttpURLPermission/HttpURLPermissionTest.java leaves files open

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • b91
    • Verified

    Description


      This is a new test, it open .ser files but doesn't close them and so fails in JPRT on Windows.

      --------------------------------------------------
      TEST: java/net/HttpURLPermission/HttpURLPermissionTest.java
      JDK under test: (C:\jprt\T\P1\212336~1.JCG\TESTPR~1\WINDOW~1.2-P)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-jprtadm_2013_05_15_15_32-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b32, mixed mode)

      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      warning: failed to delete C:\jprt\T\P1\212336.jcg-int\s\jdk\build\windows-amd64\testoutput\jdk_net\JTwork\scratch\out.ser
      Test result (overridden): Error. Can't clean


      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.078 seconds
      messages:
      command: build HttpURLPermissionTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.078

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.078 seconds
      messages:
      command: compile -XDignore.symbol.file=true C:\jprt\T\P1\212336.jcg-int\s\jdk\test\java\net\HttpURLPermission\HttpURLPermissionTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.078

      ACTION: main -- Passed. Execution successful
      REASON: Assumed action based on file name: run main HttpURLPermissionTest
      TIME: 0.016 seconds
      messages:
      command: main HttpURLPermissionTest
      reason: Assumed action based on file name: run main HttpURLPermissionTest
      elapsed time (seconds): 0.016
      STDOUT:
      path test 0 OK
      path test 1 OK
      path test 2 OK
      path test 3 OK
      path test 4 OK
      path test 5 OK
      path test 6 OK
      path test 7 OK
      path test 8 OK
      path test 9 OK
      path test 10 OK
      path test 11 OK
      path test 12 OK
      path test 13 OK
      path test 14 OK
      path test 15 OK
      path test 16 OK
      path test 17 OK
      path test 18 OK
      path test 19 OK
      path test 20 OK
      path test 21 OK
      path test 22 OK
      path test 23 OK
      path test 24 OK
      path test 25 OK
      path test 26 OK
      action test 0 OK
      action test 1 OK
      action test 2 OK
      action test 3 OK
      action test 4 OK
      action test 5 OK
      action test 6 OK
      action test 7 OK
      action test 8 OK
      action test 9 OK
      action test 10 OK
      action test 11 OK
      action test 12 OK
      STDERR:

      JavaTest Message: Test complete.


      TEST RESULT: Error. failed to clean up files after test
      --------------------------------------------------

      Attachments

        Activity

          People

            chegar Chris Hegarty
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: