From f176fae840bd7cd561f10bc9466eb7cbf2f112e4 Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Sat, 29 Feb 2020 09:38:12 +0800 Subject: [PATCH] 8240254: Build is broken when cds is disabled after JDK-8236604 Reviewed-by: redestad --- src/hotspot/share/classfile/systemDictionary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/classfile/systemDictionary.hpp b/src/hotspot/share/classfile/systemDictionary.hpp index 94da1adb38a..23692654142 100644 --- a/src/hotspot/share/classfile/systemDictionary.hpp +++ b/src/hotspot/share/classfile/systemDictionary.hpp @@ -600,7 +600,7 @@ protected: const ClassFileStream *cfs, TRAPS); // Second part of load_shared_class - static void load_shared_class_misc(InstanceKlass* ik, ClassLoaderData* loader_data, TRAPS); + static void load_shared_class_misc(InstanceKlass* ik, ClassLoaderData* loader_data, TRAPS) NOT_CDS_RETURN; static InstanceKlass* load_shared_boot_class(Symbol* class_name, TRAPS); static InstanceKlass* load_instance_class(Symbol* class_name, Handle class_loader, TRAPS);