--- a/jdk/test/sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java Wed May 11 12:32:00 2016 +0800
+++ b/jdk/test/sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java Wed May 11 05:02:20 2016 +0000
@@ -108,8 +108,7 @@
BigInteger rightOpen = p.subtract(BigInteger.ONE);
// ignore the private key range checking on Solaris at present
- if (provider.getName().equals("SunPKCS11-Solaris") &&
- !System.getProperty("os.name").equals("SunOS")) {
+ if (!provider.getName().equals("SunPKCS11-Solaris")) {
BigInteger x = privateKey.getX();
if ((x.compareTo(leftOpen) <= 0) ||
(x.compareTo(rightOpen) >= 0)) {