< prev index next >

src/hotspot/share/classfile/verifier.cpp

Print this page

        

@@ -746,11 +746,12 @@
         if (opcode != Bytecodes::_iinc   && opcode != Bytecodes::_iload  &&
             opcode != Bytecodes::_aload  && opcode != Bytecodes::_lload  &&
             opcode != Bytecodes::_istore && opcode != Bytecodes::_astore &&
             opcode != Bytecodes::_lstore && opcode != Bytecodes::_fload  &&
             opcode != Bytecodes::_dload  && opcode != Bytecodes::_fstore &&
-            opcode != Bytecodes::_dstore) {
+            opcode != Bytecodes::_dstore && opcode != Bytecodes::_vstore &&
+            opcode != Bytecodes::_vload) {
           /* Unreachable?  RawBytecodeStream's raw_next() returns 'illegal'
            * if we encounter a wide instruction that modifies an invalid
            * opcode (not one of the ones listed above) */
           verify_error(ErrorContext::bad_code(bci), "Bad wide instruction");
           return;
< prev index next >