Hello! This is a smartcardio related issue.
If CardChannel.transmit() needs to issue an additional command, it reuses the array 'command' that was passed in as an argument, which may turn out to be shorter than needed.
The fix was verified locally with the manual test. Would you please help review? BUGURL: https://bugs.openjdk.java.net/browse/JDK-6474858 WEBREV: http://cr.openjdk.java.net/~igerasim/6474858/00/webrev/ -- With kind regards, Ivan Gerasimov