Next: Property 7: recursion freeness.
Up: Example Properties
Previous: Property 5: Bonus point
For all applets it is the case that
no constructor method is called
within a call to
.
This can be a crucial property for applets due to the
absence of garbage collection in standard JavaCards.
Let
express
the regular expression predicate
.*\..*\.<init>_.*
which tests whether the current location
is in a constructor method.
This property holds of the loyalty applets,
but not of the purse applet which can create a new object
during a call to the process method
(without bad consequences, due to conditions involving data).
Lars-Ake Fredlund
2002-09-23