You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2006/11/23 20:31:04 UTC
svn commit: r478650 -
/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/ia32/nt_exception_filter.cpp
Author: gshimansky
Date: Thu Nov 23 11:31:04 2006
New Revision: 478650
URL: http://svn.apache.org/viewvc?view=rev&rev=478650
Log:
Applied HARMONY-2285 [drlvm] several NIO tests crash on DRLVM
Tests passed on windows 2003 server. Since no other platforms are affected
no more testing was done
Modified:
harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/ia32/nt_exception_filter.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/ia32/nt_exception_filter.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/ia32/nt_exception_filter.cpp?view=diff&rev=478650&r1=478649&r2=478650
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/ia32/nt_exception_filter.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/ia32/nt_exception_filter.cpp Thu Nov 23 11:31:04 2006
@@ -333,8 +333,10 @@
if (run_default_handler) {
#ifndef NDEBUG
if (vm_get_boolean_property_value_with_default("vm.assert_dialog")) {
- if (UnhandledExceptionFilter(nt_exception) == EXCEPTION_CONTINUE_SEARCH) {
- DebugBreak();
+
+ if (IS_ERROR(code)) {
+ if (UnhandledExceptionFilter(nt_exception) == EXCEPTION_CONTINUE_SEARCH)
+ DebugBreak();
}
}
#endif