< prev index next >

src/java.base/share/classes/jdk/internal/classfile/impl/verifier/VerifierImpl.java

Print this page
*** 1050,17 ***
                          stackmap_table.check_jump_target(
                              current_frame, target);
                          no_control_flow = false; break;
                      case IF_ACMPEQ :
                      case IF_ACMPNE :
!                         current_frame.pop_stack(
-                             VerificationType.reference_check);
                          // fall through
                      case IFNULL :
                      case IFNONNULL :
!                         current_frame.pop_stack(
-                             VerificationType.reference_check);
                          target = bcs.dest();
                          stackmap_table.check_jump_target
                              (current_frame, target);
                          no_control_flow = false; break;
                      case GOTO :
--- 1050,15 ---
                          stackmap_table.check_jump_target(
                              current_frame, target);
                          no_control_flow = false; break;
                      case IF_ACMPEQ :
                      case IF_ACMPNE :
!                         current_frame.pop_stack(object_type());
                          // fall through
                      case IFNULL :
                      case IFNONNULL :
!                         current_frame.pop_stack(object_type());
                          target = bcs.dest();
                          stackmap_table.check_jump_target
                              (current_frame, target);
                          no_control_flow = false; break;
                      case GOTO :
< prev index next >