Open slomo opened 9 years ago
The current state is not ready to merge, but I would like to have some feedback on the general approach. There are at least two ToDos from my point of view:
In general it should be checked whether further values are affected and or whether the context stack can be implemented in such a way that the whole simulator environment is affected.
The sematic of my implementation is actually wrong. According to the jcre spec (section 6.1.3) only if the package of the calle and caller are different the previousAID should be changed. While the currentAID should be changed always.
This is an attempt to fix #60 by introducing a java.lang.reflect.Proxy wrapper for each Shareable that will emulate a Applet context stack by updating the currentAID and previousAID.