--- a/hotspot/src/share/vm/classfile/systemDictionaryShared.hpp Thu Nov 12 14:03:14 2015 +0100
+++ b/hotspot/src/share/vm/classfile/systemDictionaryShared.hpp Tue Aug 18 11:27:23 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -22,11 +22,13 @@
*
*/
-
#ifndef SHARE_VM_CLASSFILE_SYSTEMDICTIONARYSHARED_HPP
#define SHARE_VM_CLASSFILE_SYSTEMDICTIONARYSHARED_HPP
#include "classfile/systemDictionary.hpp"
+#include "classfile/dictionary.hpp"
+
+class ClassFileStream;
class SystemDictionaryShared: public SystemDictionary {
public:
@@ -42,6 +44,30 @@
oop class_loader = loader_data->class_loader();
return (class_loader == NULL);
}
+
+ static Klass* dump_time_resolve_super_or_fail(Symbol* child_name,
+ Symbol* class_name,
+ Handle class_loader,
+ Handle protection_domain,
+ bool is_superclass,
+ TRAPS) {
+ return NULL;
+ }
+
+ static size_t dictionary_entry_size() {
+ return sizeof(DictionaryEntry);
+ }
+
+ static void init_shared_dictionary_entry(Klass* k, DictionaryEntry* entry) {}
+
+ static InstanceKlass* lookup_from_stream(Symbol* class_name,
+ Handle class_loader,
+ Handle protection_domain,
+ ClassFileStream* st,
+ bool verify,
+ TRAPS) {
+ return NULL;
+ }
};
#endif // SHARE_VM_CLASSFILE_SYSTEMDICTIONARYSHARED_HPP