--- a/hotspot/src/share/vm/classfile/classLoaderExt.hpp Tue Jul 26 11:04:20 2016 +0200
+++ b/hotspot/src/share/vm/classfile/classLoaderExt.hpp Tue Jul 26 10:29:27 2016 -0400
@@ -71,22 +71,11 @@
static void add_class_path_entry(const char* path, bool check_for_duplicates,
- ClassPathEntry* new_entry, bool prepend_entry) {
- if (prepend_entry) {
- ClassLoader::prepend_to_list(new_entry);
- } else {
- ClassLoader::add_to_list(new_entry);
- }
+ ClassPathEntry* new_entry) {
+ ClassLoader::add_to_list(new_entry);
}
static void append_boot_classpath(ClassPathEntry* new_entry) {
ClassLoader::add_to_list(new_entry);
- // During jvmti live phase an entry can be appended to the boot
- // loader's ClassPathEntry instances. Need to mark the start
- // of the boot loader's append path in case there was no reason
- // to mark it initially in setup_bootstrap_search_path.
- if (ClassLoader::_first_append_entry == NULL) {
- ClassLoader::set_first_append_entry(new_entry);
- }
}
static void setup_search_paths() {}
static bool is_boot_classpath(int classpath_index) {