[jdk9] (XS) RFR: 6474807: (smartcardio) CardTerminal.connect() throws CardException instead of CardNotPresentException
Ivan Gerasimov
ivan.gerasimov at oracle.com
Tue Aug 23 17:20:07 UTC 2016
Hello!
When underlying PCSC driver returns the error SCARD_E_NO_SMARTCARD, we
should throw a more specialized exception of type CardNotPresentException.
Currently, the plain CardException is thrown, which makes some TCK tests
unhappy.
BUGURL: https://bugs.openjdk.java.net/browse/JDK-6474807
WEBREV: http://cr.openjdk.java.net/~igerasim/6474807/00/webrev/
Would you please help review a simple fix?
With kind regards,
Ivan
More information about the security-dev
mailing list