prev next contents
aconst_null

push null

Jasmin Syntax


    aconst_null

Stack

Before

After
...
null

...
Description

Pushes the special null object reference onto the stack. null is a reference to no object, and has no type (null can be cast to any reference type). null conventionally represents an invalid or uncreated object. Fields, variables and the elements of object reference arrays have null as their initial value.

Bytecode

Type

Description
u1
aconst_null opcode = 0x01 (1)
See Also

bipush, sipush, ldc, ldc_w, ldc2_w, iconst_m1, iconst_<n>, lconst_<l>, fconst_<f>, dconst_<d>


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates