changeset 55995:2c66dbb94227

8229699: [Graal] jck tests fail on windows with AOTed Graal Reviewed-by: kvn
author bobv
date Thu, 15 Aug 2019 19:29:58 +0000
parents 47511761bd04
children a89ec7fc99aa
files src/hotspot/os/windows/os_windows.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/os/windows/os_windows.cpp	Thu Aug 15 13:41:30 2019 -0700
+++ b/src/hotspot/os/windows/os_windows.cpp	Thu Aug 15 19:29:58 2019 +0000
@@ -4122,7 +4122,7 @@
   // in order to forward implicit exceptions from code in AOT
   // generated DLLs.  This is necessary since these DLLs are not
   // registered for structured exceptions like codecache methods are.
-  if (UseAOT) {
+  if (AOTLibrary != NULL && (UseAOT || FLAG_IS_DEFAULT(UseAOT))) {
     topLevelVectoredExceptionHandler = AddVectoredExceptionHandler( 1, topLevelVectoredExceptionFilter);
   }
 #endif