jdk/test/sun/security/tools/keytool/KeyToolTest.java
changeset 14182 3041082abb40
parent 12871 b583b4c82a82
child 27344 890be6336eab
--- a/jdk/test/sun/security/tools/keytool/KeyToolTest.java	Sat Oct 13 10:15:57 2012 +0100
+++ b/jdk/test/sun/security/tools/keytool/KeyToolTest.java	Sun Oct 14 22:58:59 2012 +0100
@@ -56,7 +56,6 @@
  */
 
 import java.security.KeyStore;
-import sun.security.tools.KeyTool;
 import sun.security.x509.*;
 import java.io.*;
 import java.security.KeyPairGenerator;
@@ -149,12 +148,13 @@
             System.setOut(new PrintStream(b1));
             System.setErr(new PrintStream(b2));
 
-            // since System.in is overrided, the KeyTool.main() method will
+            // since System.in is overrided, the
+            // sun.security.tools.keytool.Main.main() method will
             // never block at user input
 
-            // use -debug so that KeyTool.main() will throw an Exception
+            // use -debug so that main() will throw an Exception
             // instead of calling System.exit()
-            KeyTool.main(("-debug "+cmd).split("\\s+"));
+            sun.security.tools.keytool.Main.main(("-debug "+cmd).split("\\s+"));
         } finally {
             out = b1.toString();
             err = b2.toString();