1.1 --- a/src/share/vm/runtime/javaCalls.cpp Tue Dec 13 10:07:12 2016 -0800 1.2 +++ b/src/share/vm/runtime/javaCalls.cpp Tue Dec 13 14:37:04 2016 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -231,7 +231,7 @@ 1.11 1.12 void JavaCalls::call_special(JavaValue* result, KlassHandle klass, Symbol* name, Symbol* signature, JavaCallArguments* args, TRAPS) { 1.13 CallInfo callinfo; 1.14 - LinkResolver::resolve_special_call(callinfo, klass, name, signature, KlassHandle(), false, CHECK); 1.15 + LinkResolver::resolve_special_call(callinfo, args->receiver(), klass, name, signature, KlassHandle(), false, CHECK); 1.16 methodHandle method = callinfo.selected_method(); 1.17 assert(method.not_null(), "should have thrown exception"); 1.18