Set static
field in class
Bytecode
Type | Description |
u1 | putstatic2_quick opcode = 0xD5 (213) |
u2 | index |
Stack ..., value.word1, value.word2 =? ...
Description
The unsigned index points to a field reference to a class (static
)
field that must have already been successfully resolved to a type that is two words wide.
The value must be of a type appropriate to that class field. The value is
popped from the operand stack, and that class field is set to value.
The opcode of this instruction was originally putstatic, operating on a static
field determined dynamically to be two words wide. The operands of the putstatic
instruction are not modified. There is no equivalent to the putfield2_quick
instruction, storing a class offset as an instruction operand, for two-word static
fields.