< prev index next >

test/jdk/java/security/MessageDigest/TestSameLength.java

Print this page
rev 59107 : imported patch security

@@ -101,21 +101,15 @@
             throw ex;
         }
     }
 
     // SHA-3 hash algorithms are only supported by "SUN" provider
-    // and "OracleUcrypto" provider on Solaris 12.0 or later
     // This method checks if system supports SHA-3
     private boolean isSHA3supported() {
         if (Security.getProvider("SUN") != null) {
             return true;
         }
-        if (Security.getProvider("OracleUcrypto") != null
-                && "SunOS".equals(System.getProperty("os.name"))
-                && System.getProperty("os.version").compareTo("5.12") >= 0) {
-            return true;
-        }
         return false;
     }
 
     private static enum UpdateMethod {
         UPDATE_BYTE {
< prev index next >