diff src/share/vm/classfile/classLoaderExt.hpp @ 20376:bb239308be67

8056971: Minor class loading clean-up Summary: Misplacement of #if INCLUE_CDS, typos, unnecessary C string duplication Reviewed-by: dholmes, ccheung
author iklam
date Tue, 02 Sep 2014 14:02:57 -0700
parents 6e0cb14ce59b
children 4cb90023bf2b
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoaderExt.hpp	Thu Aug 21 13:57:51 2014 -0700
+++ b/src/share/vm/classfile/classLoaderExt.hpp	Tue Sep 02 14:02:57 2014 -0700
@@ -59,8 +59,8 @@
   };
 
 
-  static void add_class_path_entry(char* path, bool check_for_duplicates,
-                            ClassPathEntry* new_entry) {
+  static void add_class_path_entry(const char* path, bool check_for_duplicates,
+                                   ClassPathEntry* new_entry) {
     ClassLoader::add_to_list(new_entry);
   }
   static void setup_search_paths() {}