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

test/sun/security/provider/KeyStore/DKSTest.sh attempts to write to ${test.src}

XMLWordPrintable

    • b119
    • Verified


      This test seems to want to write into the test tree. Could this test be examined to see if this is necessary as it should be possible to run the tests on a read-only file system.

      Here's the failure I see when it tries to write to the test directory.

      ----------System.err:(6/387)----------
      Exception in thread "main" java.io.FileNotFoundException: /u/alanb/ws/tl/jdk/test/sun/security/provider/KeyStore/empty.jks (Permission denied)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:206)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:95)
      at DKSTest.main0(DKSTest.java:122)
      at DKSTest.main(DKSTest.java:64)

            vinnie Vincent Ryan
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: