src/share/vm/memory/filemap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/memory/filemap.cpp Thu Sep 29 15:57:17 2016
--- new/src/share/vm/memory/filemap.cpp Thu Sep 29 15:57:17 2016
*** 261,271 ****
--- 261,271 ----
EXCEPTION_MARK; // The following call should never throw, but would exit VM on error.
SharedClassUtil::update_shared_classpath(cpe, ent, st.st_mtime, st.st_size, THREAD);
} else {
struct stat st;
if (os::stat(name, &st) == 0) {
! if ((st.st_mode & S_IFDIR) == S_IFDIR) {
! if ((st.st_mode & S_IFMT) == S_IFDIR) {
if (!os::dir_is_empty(name)) {
ClassLoader::exit_with_path_failure(
"Cannot have non-empty directory in archived classpaths", name);
}
ent->_filesize = -1;
src/share/vm/memory/filemap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File