Faint for JCOP error message T_T
In my Applet I need to use the class OwnerPIN. When I call OwnerPIN's method
boolean check(byte[] pin, short offset, byte length)
the console window shows:
ASSERTION FAILED! Constant exceeds range: 0x0/0 <= 0xFFFFFFFF/-1 < 0x100/256
File: vm.c
Line: 965
In my mind, whatever I wrote, an JAVA error or exception will be thrown out. But now ...
my JCOP tools version: 3.1.1.a
Simulator using: Generic JCOP41v2.2
I'm afraid some unknown error will happen in JCOP RealCard.
Thanks~
[554 byte] By [
Realsomea] at [2007-11-26 12:58:59]

# 2
Thx, but it also happened in JCOP tools V3.1.2.
Any way, I found a way to ignore this problem. If I call the API in pravite method, this assert will be thrown out. And the package in Real Card wonn't run currectly. (A PC/SC Error will be report when sending APDU).
But everything will be fine if I use the API in public method.
Does it mean I mustn't using the API in pravite method?
# 3
Realsome, I think it is better if you contact IBM:
Bug Reports
Please send bug reports to scard@de.ibm.com. Make sure you include the following:
Problem description
Steps to reproduce
Eclipse version and build number (Help > About)
JCOP Tools version (Help > About; click on IBM icon)