1.1 --- a/src/share/vm/interpreter/interpreterRuntime.cpp Thu Mar 16 17:38:32 2017 +0000 1.2 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp Mon Mar 20 14:38:35 2017 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2017, 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 @@ -768,7 +768,7 @@ 1.11 // it is not an interface. The receiver for invokespecial calls within interface 1.12 // methods must be checked for every call. 1.13 InstanceKlass* sender = pool->pool_holder(); 1.14 - sender = sender->is_anonymous() ? InstanceKlass::cast(sender->host_klass()) : sender; 1.15 + sender = sender->has_host_klass() ? InstanceKlass::cast(sender->host_klass()) : sender; 1.16 1.17 switch (info.call_kind()) { 1.18 case CallInfo::direct_call: