8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work

Replaced os::file_name_strncmp() with os::same_files().

Reviewed-by: iklam, jiangli
This commit is contained in:
Calvin Cheung 2019-06-28 09:49:10 -07:00
parent 302b8d06ce
commit 5d1361df03
24 changed files with 822 additions and 192 deletions

View file

@ -35,11 +35,6 @@
#include <poll.h>
#include <netdb.h>
// File names are case-insensitive on windows only
inline int os::file_name_strncmp(const char* s1, const char* s2, size_t num) {
return strncmp(s1, s2, num);
}
inline bool os::uses_stack_guard_pages() {
return true;
}