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

test/sun/net/www/http/HttpClient/B8025710.java fails with cannot find keystore

XMLWordPrintable

    • b13

        Trivial update to a recent test that was added for JDK-8025710. In JDK 8 ( and previous ) the test keystore is at different location to that of JDK 9.

        diff --git a/test/sun/net/www/http/HttpClient/B8025710.java b/test/sun/net/www/http/HttpClient/B8025710.java
        --- a/test/sun/net/www/http/HttpClient/B8025710.java
        +++ b/test/sun/net/www/http/HttpClient/B8025710.java
        @@ -43,7 +43,7 @@
             private final static AtomicBoolean connectInServer = new AtomicBoolean();
             private static final String keystorefile =
                     System.getProperty("test.src", "./")
        - + "/../../../../../javax/net/ssl/etc/keystore";
        + + "/../../../../../sun/security/ssl/etc/keystore";
             private static final String passphrase = "passphrase";
         
             public static void main(String[] args) throws Exception {

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

                Created:
                Updated:
                Resolved: