[jdk9] (XS) RFR: 6474807: (smartcardio) CardTerminal.connect() throws CardException instead of CardNotPresentException

Valerie Peng valerie.peng at oracle.com
Mon Aug 29 23:18:57 UTC 2016


Changes look fine.
Thanks,
Valerie

On 8/23/2016 10:20 AM, Ivan Gerasimov wrote:
> 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