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

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

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

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

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

Reply via email to