Skip to content

Commit 65d8bbb

Browse files
committed
Do not reset global flag to 0 before crashing
1 parent bf6ba45 commit 65d8bbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hotspot/os/windows/os_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ void * os::dll_load(const char *name, char *ebuf, int ebuflen) {
17071707
strcmp(LibraryToCrashOn, name) == 0) {
17081708
global_flag = 7;
17091709
if (CrashAtLocation7) {
1710-
crash();
1710+
crash(7);
17111711
}
17121712
}
17131713
result = LoadLibrary(name);

0 commit comments

Comments
 (0)