< prev index next >
test/jdk/sun/security/jca/PreferredProviderNegativeTest.java
Print this page
rev 59107 : imported patch security
*** 105,120 ****
public static void main(String[] args)
throws NoSuchAlgorithmException, NoSuchPaddingException {
String expected;
String value = args[1];
- // If OS is solaris, expect OracleUcrypto, otherwise SunJCE
- if (System.getProperty("os.name").toLowerCase().contains("sun")) {
- expected = "OracleUcrypto";
- } else {
expected = "SunJCE";
- }
if (args.length >= 2) {
switch (args[0]) {
case "preSet":
boolean negativeProvider = Boolean.valueOf(args[2]);
--- 105,115 ----
< prev index next >