src/java.base/share/classes/java/security/KeyStore.java
changeset 51131 9502e3b9d415
parent 48700 953eca1167b6
child 52689 7084dae775f2
--- a/src/java.base/share/classes/java/security/KeyStore.java	Tue Jul 17 09:37:24 2018 -0400
+++ b/src/java.base/share/classes/java/security/KeyStore.java	Tue Jul 17 22:22:00 2018 +0800
@@ -1807,6 +1807,7 @@
                     keystore.load(dataStream, password);
                 } else {
                     keystore.keyStoreSpi.engineLoad(dataStream, param);
+                    keystore.initialized = true;
                 }
                 return keystore;
             }