8069155: The value of 'KeyStore Type' isn't 'jks'
authorvinnie
Thu, 22 Jan 2015 12:33:05 +0000
changeset 28560 44e28eba3922
parent 28559 e4d6d177eef0
child 28561 bdb3c1d3a975
8069155: The value of 'KeyStore Type' isn't 'jks' Reviewed-by: xuelei
jdk/test/sun/security/tools/policytool/i18n.sh
--- a/jdk/test/sun/security/tools/policytool/i18n.sh	Wed Jan 21 21:42:22 2015 +0100
+++ b/jdk/test/sun/security/tools/policytool/i18n.sh	Thu Jan 22 12:33:05 2015 +0000
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -83,8 +83,9 @@
     exit 1
 fi
 
+# The keystore type is set to JKS, to match the type expected by i18n.html
 ${TESTJAVA}${FS}bin${FS}keytool ${TESTTOOLVMOPTS} -genkeypair -alias hello -dname CN=Hello \
-        -storepass changeit -keypass changeit -keystore ks
+        -storepass changeit -keypass changeit -keystore ks -storetype jks
 echo changeit > good
 echo badpass > bad
 ${TESTJAVA}${FS}bin${FS}policytool ${TESTTOOLVMOPTS}