changeset 12591:df91dcad1c5f

8169944: sun/security/tools tests fail with CompilationError Reviewed-by: coffeys
author msolovie
date Wed, 23 Nov 2016 19:07:17 +0300
parents 3809a2402a6d
children ed5059b5aa41
files test/sun/security/tools/jarsigner/warnings/Test.java
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/tools/jarsigner/warnings/Test.java	Wed Nov 23 11:42:01 2016 +0300
+++ b/test/sun/security/tools/jarsigner/warnings/Test.java	Wed Nov 23 19:07:17 2016 +0300
@@ -197,21 +197,4 @@
         cmd.addAll(Arrays.asList(args));
         return ProcessTools.executeCommand(cmd.toArray(new String[cmd.size()]));
     }
-
-    protected OutputAnalyzer keytool(String... cmd) throws Throwable {
-        return tool(KEYTOOL, cmd);
-    }
-
-    protected OutputAnalyzer jarsigner(String... cmd) throws Throwable {
-        return tool(JARSIGNER, cmd);
-    }
-
-    private OutputAnalyzer tool(String tool, String... args) throws Throwable {
-        List<String> cmd = new ArrayList<>();
-        cmd.add(tool);
-        cmd.add("-J-Duser.language=en");
-        cmd.add("-J-Duser.country=US");
-        cmd.addAll(Arrays.asList(args));
-        return ProcessTools.executeCommand(cmd.toArray(new String[cmd.size()]));
-    }
 }