test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress005.cpp
changeset 52952 837f1b8442be
parent 52495 52be2c714a2f
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress005.cpp	Tue Dec 11 14:09:54 2018 -0600
+++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress005.cpp	Tue Dec 11 12:45:38 2018 -0800
@@ -56,7 +56,7 @@
     CHECK_EXCEPTION
     if (!env->Throw(tobj)) {
     if (env->ExceptionOccurred())
-        if (Exceptcalls%1000==0)
+        if (Exceptcalls % 1000 == 0)
         fprintf(stderr, "NATIVE: Throw has been catched in native\n");
     env->ExceptionClear();
     ++Exceptcalls;
@@ -65,7 +65,7 @@
     env->MonitorExit(jobj);
     CHECK_EXCEPTION
 
-    switch (Exceptcalls%23) {
+    switch (Exceptcalls % 23) {
       case 0: name="java/lang/ArithmeticException"; break;
       case 1: name="java/lang/ArrayIndexOutOfBoundsException"; break;
       case 2: name="java/lang/ArrayStoreException"; break;