8061464: A typo in CipherTestUtils test
Reviewed-by: xuelei
Contributed-by: Florian Weimer <fweimer@redhat.com>
--- a/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java Fri Oct 17 12:20:34 2014 +0200
+++ b/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java Mon Oct 20 13:31:44 2014 +0000
@@ -261,20 +261,20 @@
}
}
- private static volatile CipherTestUtils instnace = null;
+ private static volatile CipherTestUtils instance = null;
public static CipherTestUtils getInstance() throws IOException,
FileNotFoundException, KeyStoreException,
NoSuchAlgorithmException, CertificateException,
UnrecoverableKeyException, InvalidKeySpecException {
- if (instnace == null) {
+ if (instance == null) {
synchronized (CipherTestUtils.class) {
- if (instnace == null) {
- instnace = new CipherTestUtils();
+ if (instance == null) {
+ instance = new CipherTestUtils();
}
}
}
- return instnace;
+ return instance;
}
public static void setTestedArguments(String testedProtocol,