Hello,
Does OCF1.2 work in Java 1.1.x JVM?
We found that class opencard.opt.util.TLV from OCF1.2 does not compile
with 1.1.6 javac
Problem:
valueAsNumber() has a statement where "number" is built from a byte array
using the following line of code (line 607)
number = number * 256 + (j<0? j+=256 : j);
The offending part is "j+=", which seems to be useless since j is
overwritten
in the next iteration and not used anywhere else.
Changing the code into
number = number * 256 + (j<0? j+256 : j);
works and compiles.
Regards,
� � Daniel
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.