< prev index next >

test/lib/jdk/test/lib/SecurityTools.java

Print this page

        

*** 81,91 **** public static OutputAnalyzer keytool(String args) throws Exception { return keytool(args.split("\\s+")); } public static OutputAnalyzer keytool(String... args) throws Exception { ! return keytool(List.of(args)); } public static void setResponse(String... responses) throws IOException { String text; if (responses.length > 0) { --- 81,91 ---- public static OutputAnalyzer keytool(String args) throws Exception { return keytool(args.split("\\s+")); } public static OutputAnalyzer keytool(String... args) throws Exception { ! return keytool(Arrays.asList(args)); } public static void setResponse(String... responses) throws IOException { String text; if (responses.length > 0) {
*** 123,131 **** return jarsigner(args.split("\\s+")); } public static OutputAnalyzer jarsigner(String... args) throws Exception { ! return jarsigner(List.of(args)); } } --- 123,131 ---- return jarsigner(args.split("\\s+")); } public static OutputAnalyzer jarsigner(String... args) throws Exception { ! return jarsigner(Arrays.asList(args)); } }
< prev index next >