mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
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:
parent
302b8d06ce
commit
5d1361df03
24 changed files with 822 additions and 192 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue