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

ExE Boss duke at openjdk.org
Tue Mar 14 17:34:32 UTC 2023


On Mon, 13 Mar 2023 08:13:44 GMT, liach <duke at openjdk.org> wrote:

> Without this patch, the Classfile API tries to encode PrimitiveClassDesc as CONSTANT_Class_info and error in `toInternalName`.

I meant that `instanceof DynamicConstantDesc` would go after concrete classes (`Integer`, `Long`, `Float`, `Double`, and `String`), but before the `ConstantDesc` interfaces.

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

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


More information about the core-libs-dev mailing list