changeset 129:4e9ad500ca1b

8130407: UART test hags on generateBreak call Summary: Corrected exit condition Reviewed-by: alkonsta
author snazarki
date Fri, 03 Jul 2015 14:18:52 +0400
parents 26cdefd05bf5
children 0ba9a05a52b6
files src/se/native/com/oracle/dio/uart/impl/jni_uart.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/se/native/com/oracle/dio/uart/impl/jni_uart.cpp	Thu Jul 02 21:48:29 2015 +0400
+++ b/src/se/native/com/oracle/dio/uart/impl/jni_uart.cpp	Fri Jul 03 14:18:52 2015 +0400
@@ -601,7 +601,7 @@
             }
             env->MonitorExit(obj);
         }
-    } while (1);
+    } while (0);
 
 
     checkJavacallFailure(env, result);