Commit Graph
1 Commits
Author SHA1 Message Date
Afloat f04d7456e0 Reject impossible JVM array allocation operands (R3.12) (#1675)
newarray accepted any element-type byte and multianewarray accepted zero dimensions, both of which the JVM refuses. The decoder now stops at a newarray whose type isn't one of the eight primitive array types or a multianewarray with zero dimensions, as for other invalid instructions.
2026-11-11 18:35:12 +07:00