--- a/jdk/test/sun/security/smartcardio/TestControl.java Fri Jul 18 13:43:28 2014 +0100
+++ b/jdk/test/sun/security/smartcardio/TestControl.java Fri Jul 18 17:04:10 2014 +0400
@@ -31,10 +31,9 @@
// This test requires special hardware.
-import java.io.*;
-import java.util.*;
-
-import javax.smartcardio.*;
+import javax.smartcardio.Card;
+import javax.smartcardio.CardException;
+import javax.smartcardio.CardTerminal;
public class TestControl extends Utils {
@@ -68,7 +67,7 @@
}
// disconnect
- card.disconnect(false);
+ card.disconnect(true);
System.out.println("OK.");
}