--- old/src/hotspot/share/interpreter/rewriter.cpp 2019-03-11 14:26:00.990355227 +0100 +++ new/src/hotspot/share/interpreter/rewriter.cpp 2019-03-11 14:26:00.786355229 +0100 @@ -169,7 +169,7 @@ void Rewriter::rewrite_member_reference(address bcp, int offset, bool reverse) { address p = bcp + offset; if (!reverse) { - int cp_index = Bytes::get_Java_u2(p); + int cp_index = Bytes::get_Java_u2(p); int cache_index = cp_entry_to_cp_cache(cp_index); Bytes::put_native_u2(p, cache_index); if (!_method_handle_invokers.is_empty()) @@ -205,7 +205,6 @@ } } - // Adjust the invocation bytecode for a signature-polymorphic method (MethodHandle.invoke, etc.) void Rewriter::maybe_rewrite_invokehandle(address opc, int cp_index, int cache_index, bool reverse) { if (!reverse) { @@ -466,6 +465,7 @@ // fall through case Bytecodes::_getstatic : // fall through case Bytecodes::_getfield : // fall through + case Bytecodes::_withfield : // fall through but may require more checks for correctness case Bytecodes::_invokevirtual : // fall through case Bytecodes::_invokestatic : case Bytecodes::_invokeinterface: