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

Adam Sotona adam.sotona at oracle.com
Wed Apr 3 08:54:46 UTC 2024


`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

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

Commit messages:
 - 8329527: Opcode.IFNONNULL.primaryTypeKind() is not ReferenceType

Changes: https://git.openjdk.org/jdk/pull/18593/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18593&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329527
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18593.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18593/head:pull/18593

PR: https://git.openjdk.org/jdk/pull/18593
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20240403/dc80384c/attachment-0001.htm>


More information about the classfile-api-dev mailing list