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

Convert sun/security/provider/KeyStore/DKSTest.sh to Java Jtreg Test

XMLWordPrintable

        Easily reproducible by setting the workdir (using -w:) to a different drive.

        Expected exception: java.io.FileNotFoundException: \\Temp\\sparky\\jib-data\\install\\jdk\\personal\\christian.tornqvist\\2017-05-11-1836062.christian.tornqvist.jdk10-jdk10\\source\\src-full.tar.gz\\jdk\\test\\sun\\security\\provider\\KeyStore\\domains.cfg (The system cannot find the path specified)
        java.io.FileNotFoundException: \\Temp\\sparky\\jib-data\\install\\jdk\\personal\\christian.tornqvist\\2017-05-11-1836062.christian.tornqvist.jdk10-jdk10\\source\\src-full.tar.gz\\jdk\\test\\sun\\security\\provider\\KeyStore\\domains.cfg (The system cannot find the path specified)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:196)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:139)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:94)
        at java.base/sun.security.util.PolicyUtil.getInputStream(PolicyUtil.java:60)
        at java.base/sun.security.provider.DomainKeyStore.getBuilders(DomainKeyStore.java:771)
        at java.base/sun.security.provider.DomainKeyStore.engineLoad(DomainKeyStore.java:725)
        at java.base/sun.security.provider.DomainKeyStore$DKS.engineLoad(DomainKeyStore.java:67)
        at java.base/java.security.KeyStore.load(KeyStore.java:1514)
        at DKSTest.main(DKSTest.java:83)

              ssahoo Sibabrata Sahoo (Inactive)
              ctornqvi Christian Tornqvist
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: