RFR: 8304031: Classfile API cannot encode Primitive Class as Condy

liach duke at openjdk.org
Mon Mar 13 23:55:57 UTC 2023


On Mon, 13 Mar 2023 23:46:58 GMT, ExE Boss <duke at openjdk.org> wrote:

> Arguably, the `instanceof DynamicConstantDesc` check should go first, as there can be only one superclass, but multiple implemented interfaces.

I think this ordering is rather ranked by their relative frequency in bytecode. Having integer constants to undergo `instanceof DynamicConstantDesc` checks would be less efficient.

-------------

PR: https://git.openjdk.org/jdk/pull/12996


More information about the core-libs-dev mailing list