8166931: Do not include classes which are unusable during run time in the classlist file

Added check to exclude classes found in the --patch-module list

Reviewed-by: jiangli, lfoltan, iklam
This commit is contained in:
Calvin Cheung 2016-10-18 16:15:03 -07:00
parent 3b1fe56bf5
commit c5dc50c03f
4 changed files with 161 additions and 6 deletions

View file

@ -451,7 +451,7 @@ class ClassLoader: AllStatic {
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);