equal
deleted
inserted
replaced
2807 "Third and fourth operand bytes of invokedynamic must be zero"); |
2807 "Third and fourth operand bytes of invokedynamic must be zero"); |
2808 return; |
2808 return; |
2809 } |
2809 } |
2810 } |
2810 } |
2811 |
2811 |
2812 if (method_name->byte_at(0) == '<') { |
2812 if (method_name->char_at(0) == '<') { |
2813 // Make sure <init> can only be invoked by invokespecial |
2813 // Make sure <init> can only be invoked by invokespecial |
2814 if (opcode != Bytecodes::_invokespecial || |
2814 if (opcode != Bytecodes::_invokespecial || |
2815 method_name != vmSymbols::object_initializer_name()) { |
2815 method_name != vmSymbols::object_initializer_name()) { |
2816 verify_error(ErrorContext::bad_code(bci), |
2816 verify_error(ErrorContext::bad_code(bci), |
2817 "Illegal call to internal method"); |
2817 "Illegal call to internal method"); |