Hi Rafa,

first, I have to say that JavaCard questions do not really belong to OCF 
(it's the other side of the terminal) ...

>How can I do an object created for me, transient?

"Transient" does not mean that the reserved memory for an instance of an 
object is freed. It is not a must for a JavaCard to implement a memory 
management that handles fragmented space and a garbage collection. In 
minimum implementations You are not able to free up the space allocated by 
an instance.

"Transient" arrays are created using the JCSystem class, methods 
makeTransientXXXArray. These arrays of Type XXX are cleared (each value is 
set to 0x00) when the given event occurs:
* CLEAR_ON_RESET - if the card is reset
* CLEAR_ON_DESELECT - if the Applet is deselected (another Applet is selected)
* NOT_A_TRANSIENT_OBJECT - never

Regards,
Patrick.



---
> 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.

Reply via email to