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

TEST_BUG:File locked when processing the cleanup on test jaxp/test/javax/xml/jaxp/functional/javax/xml/transform/ptests/TransformerFactoryTest.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b43
    • OS:
      windows

      Backports

        Description

        This can be tracked in jprt run:
        http://scaaa637.us.oracle.com/archive/2014/12/2014-12-09-225556.HaiboYan.jdk9-dev/logs/windows_i586-product-c1-jaxp_test.log.FAILED.log
        Log shows "The process cannot access the file because it is being used by another process.". The solution is straightforward.
        1. We use try-resource block to close the input file.
        2. We remove cleanup block since jtreg will take care of it

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                tyan Tristan Yan (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: