Closed huckym closed 2 years ago
This seems to be a JavaCard issue, not an ant-javacard issue specifically.
Looking through the JavaCard Runtime Environment Docs, the JavaCard Installer seems to be responsible for allocating the statically configured arrays and initializing them.
If a library can be shared between applets, would it not be a security risk to have it be static? As far as I understand it, they want it so anything that makes it through the firewall needs to implement the Shareable interface.
Thanks for pointing me in the right direction. Closing this ticket
I have the following toy code for a library package with a static array:
and the following ant task to build the library package:
but I am getting the following error message:
Why is static array in a library problematic? builds fine if I remove the static array