RFR: 8329527: Opcode.IFNONNULL.primaryTypeKind() is not ReferenceType

Jan Lahoda jlahoda at openjdk.org
Tue Apr 9 09:00:09 UTC 2024


On Wed, 3 Apr 2024 08:15:52 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> `Opcode.IFNONNULL.primaryTypeKind()` wrongly returned `IntType` instead of the right `ReferenceType`.
> Primary type kinds of `BRANCH` opcodes have yet no functional effect in the Class-File API.
> This simple patch fixes the typo.
> 
> Please review.
> 
> Thank you,
> Adam

Looks good.

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

Marked as reviewed by jlahoda (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18593#pullrequestreview-1988500479


More information about the core-libs-dev mailing list