1.1 --- a/src/share/vm/classfile/verifier.cpp Mon Sep 10 16:19:47 2018 +0100 1.2 +++ b/src/share/vm/classfile/verifier.cpp Wed Sep 12 10:11:31 2018 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2018, 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 @@ -1949,11 +1949,9 @@ 1.11 oop loader = current_class()->class_loader(); 1.12 oop protection_domain = current_class()->protection_domain(); 1.13 1.14 - Klass* kls = SystemDictionary::resolve_or_fail( 1.15 + return SystemDictionary::resolve_or_fail( 1.16 name, Handle(THREAD, loader), Handle(THREAD, protection_domain), 1.17 true, CHECK_NULL); 1.18 - current_class()->class_loader_data()->record_dependency(kls, CHECK_NULL); 1.19 - return kls; 1.20 } 1.21 1.22 bool ClassVerifier::is_protected_access(instanceKlassHandle this_class,