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

java/util/Currency/PropertiesTest.sh writable check is incorrect

    Details

    • Subcomponent:
    • Resolved In Build:
      b98
    • CPU:
      generic
    • OS:
      windows_2008

      Description

      Test
      java/util/Currency/PropertiesTest.sh
      fails on windows due writing on network drive with:

      cp: Error copying file C:/local/common/testbase/jtreg/UTIL_REGRESSION/test/java/util/Currency/currency.properties to K:/jdk/re/7/promoted/ea/b65/binaries/windows-i586/jre/lib/currency.properties: Access is denied.
      Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: K:\\jdk\\re\\7\\promoted\\ea\\b65\\binaries\\windows-i586\\jre\\lib\\currency.properties (The system cannot find the file specified)
      at PropertiesTest.compare(PropertiesTest.java:111)
      at PropertiesTest.main(PropertiesTest.java:42)
      Caused by: java.io.FileNotFoundException: K:\\jdk\\re\\7\\promoted\\ea\\b65\\binaries\\windows-i586\\jre\\lib\\currency.properties (The system cannot find the file specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:137)
      at java.io.FileInputStream.<init>(FileInputStream.java:96)
      at java.io.FileReader.<init>(FileReader.java:58)
      at PropertiesTest.compare(PropertiesTest.java:109)
      ... 1 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                kzhaldyb Kirill Zhaldybin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: