8199807: AppCDS performs overly restrictive path matching check

8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()

Relax CDS/AppCDS path check for modules image.

Reviewed-by: iklam, ccheung
This commit is contained in:
Jiangli Zhou 2018-05-21 15:15:58 -04:00
parent 281e575907
commit 422e112ffd
12 changed files with 394 additions and 90 deletions

View file

@ -167,7 +167,7 @@ class os: AllStatic {
// File names are case-insensitive on windows only
// Override me as needed
static int file_name_strcmp(const char* s1, const char* s2);
static int file_name_strncmp(const char* s1, const char* s2, size_t num);
// unset environment variable
static bool unsetenv(const char* name);