equal
deleted
inserted
replaced
175 case Bytecodes::_invokeinterface: |
175 case Bytecodes::_invokeinterface: |
176 // We get here from InterpreterRuntime::resolve_invoke when an invokeinterface |
176 // We get here from InterpreterRuntime::resolve_invoke when an invokeinterface |
177 // instruction somehow links to a non-interface method (in Object). |
177 // instruction somehow links to a non-interface method (in Object). |
178 // In that case, the method has no itable index and must be invoked as a virtual. |
178 // In that case, the method has no itable index and must be invoked as a virtual. |
179 // Set a flag to keep track of this corner case. |
179 // Set a flag to keep track of this corner case. |
|
180 assert(method->is_public(), "Calling non-public method in Object with invokeinterface"); |
180 change_to_virtual = true; |
181 change_to_virtual = true; |
181 |
182 |
182 // ...and fall through as if we were handling invokevirtual: |
183 // ...and fall through as if we were handling invokevirtual: |
183 case Bytecodes::_invokevirtual: |
184 case Bytecodes::_invokevirtual: |
184 { |
185 { |