new_quick

Create new object

Bytecode

Type Description
u1 new opcode = 0xDD (221)
u2 index

Stack ... ==> ..., objectref

Description

The unsigned index is used to get access to class entry. A new instance of that class is created, and the instance variables of the new object are initialized to their default initial values. The objectref, a reference to the instance, is pushed onto the operand stack.

Notes

The opcode of this instruction was originally new. The operands of the original new instruction are not modified.