hi,

it appears to me there is a bug in the APDU's append method. i tried a couple of ways, such as
 

CommandAPDU apdu = new CommandAPDU(10);
apdu.append((byte)0);
or
CommandAPDU apdu = new CommandAPDU(new byte[10]);
apdu.append((byte)0);
or
byte[] bytes = new byte[2];
CommandAPDU apdu = new CommandAPDU(10);
apdu.append(bytes);
and evey other variation, like creating apdu with "new CommandAPDU(new byte[0])", they all throw the ArrayIndexOutOfBoundException.

-a
--
Aaron Stromas     |   "Tick-tick-tick!!!... ja, Pantani is weg...."
Oracle Corp.        |                  BRTN commentator,
+1 703 708 6821   |                  L'Alpe d'Huez, 1995 Tour de France
 

begin:vcard 
n:Stromas;Aaron 
tel;fax:+1 703-708 7922
tel;home:+1 301 493 4933
tel;work:+1 703 708 6821
x-mozilla-html:TRUE
url:http://www.oracle.com
org:Oracle;Advanced Technology Solutions
adr:;;196 Van Buren Street;Herndon;VA;22070;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Principal consultant
x-mozilla-cpt:;0
fn:Stromas, Aaron 
end:vcard

Reply via email to