diff src/share/vm/classfile/classLoader.hpp @ 12182:5fe734a2323b

8166931: Do not include classes which are unusable during run time in the classlist file Summary: added check to exclude classes found in the --patch-module list Reviewed-by: jiangli, lfoltan, iklam
author ccheung
date Tue, 18 Oct 2016 16:15:03 -0700
parents d566fd6e0740
children
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.hpp	Tue Oct 18 17:38:17 2016 -0400
+++ b/src/share/vm/classfile/classLoader.hpp	Tue Oct 18 16:15:03 2016 -0700
@@ -451,7 +451,7 @@
   static void set_first_append_entry(ClassPathEntry* entry);
 
   // indicates if class path already contains a entry (exact match by name)
-  static bool contains_entry(ClassPathEntry* entry);
+  static bool contains_append_entry(const char* name);
 
   // adds a class path list
   static void add_to_list(ClassPathEntry* new_entry);