Skip to content

Commit 71c5bbc

Browse files
committed
8329527: Opcode.IFNONNULL.primaryTypeKind() is not ReferenceType
Reviewed-by: jlahoda
1 parent 58e39c1 commit 71c5bbc

File tree

1 file changed

+1
-1
lines changed
  • src/java.base/share/classes/java/lang/classfile

1 file changed

+1
-1
lines changed

src/java.base/share/classes/java/lang/classfile/Opcode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ public enum Opcode {
645645
IFNULL(ClassFile.IFNULL, 3, Kind.BRANCH, TypeKind.ReferenceType),
646646

647647
/** Branch if reference not null */
648-
IFNONNULL(ClassFile.IFNONNULL, 3, Kind.BRANCH, TypeKind.IntType),
648+
IFNONNULL(ClassFile.IFNONNULL, 3, Kind.BRANCH, TypeKind.ReferenceType),
649649

650650
/** Branch always (wide index) */
651651
GOTO_W(ClassFile.GOTO_W, 5, Kind.BRANCH, TypeKind.VoidType),

0 commit comments

Comments
 (0)