equal
deleted
inserted
replaced
69 } |
69 } |
70 }; |
70 }; |
71 |
71 |
72 |
72 |
73 static void add_class_path_entry(const char* path, bool check_for_duplicates, |
73 static void add_class_path_entry(const char* path, bool check_for_duplicates, |
74 ClassPathEntry* new_entry, bool prepend_entry) { |
74 ClassPathEntry* new_entry) { |
75 if (prepend_entry) { |
75 ClassLoader::add_to_list(new_entry); |
76 ClassLoader::prepend_to_list(new_entry); |
|
77 } else { |
|
78 ClassLoader::add_to_list(new_entry); |
|
79 } |
|
80 } |
76 } |
81 static void append_boot_classpath(ClassPathEntry* new_entry) { |
77 static void append_boot_classpath(ClassPathEntry* new_entry) { |
82 ClassLoader::add_to_list(new_entry); |
78 ClassLoader::add_to_list(new_entry); |
83 // During jvmti live phase an entry can be appended to the boot |
|
84 // loader's ClassPathEntry instances. Need to mark the start |
|
85 // of the boot loader's append path in case there was no reason |
|
86 // to mark it initially in setup_bootstrap_search_path. |
|
87 if (ClassLoader::_first_append_entry == NULL) { |
|
88 ClassLoader::set_first_append_entry(new_entry); |
|
89 } |
|
90 } |
79 } |
91 static void setup_search_paths() {} |
80 static void setup_search_paths() {} |
92 static bool is_boot_classpath(int classpath_index) { |
81 static bool is_boot_classpath(int classpath_index) { |
93 return true; |
82 return true; |
94 } |
83 } |