The Java Card virtual machine contains limited support for class initialization because there is no general mechanism for executing methods. Support for methods is limited to the initialization of static field values with the following constraints:
Primitive constant data types include boolean, byte, short, and int.
Given Java technology source files that adhere to these language-level constraints on static field initialization, it is expected that reasonable Java compilers will: