diff -r db3c6bb7f856 -r 83d8b3a25f25 src/hotspot/os/linux/os_linux.inline.hpp --- a/src/hotspot/os/linux/os_linux.inline.hpp Mon May 21 11:43:57 2018 -0700 +++ b/src/hotspot/os/linux/os_linux.inline.hpp Mon May 21 15:15:58 2018 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,9 +34,9 @@ #include #include -// File names are case-sensitive on windows only -inline int os::file_name_strcmp(const char* s1, const char* s2) { - return strcmp(s1, s2); +// 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::obsolete_option(const JavaVMOption *option) {