check-cast

Purpose

Throw if the reference in the given register cannot be cast to the indicated type. The type must be a reference type (not a primitive type).

Details

Op & Format Mnemonic / Syntax Arguments
1f 21c check-cast vAA, type@BBBB A: reference-bearing register (8 bits)
B: type index (16 bits)

Constraints

Behavior

Exceptions