diff --git a/tool/playground/TestJavaLR.java b/tool/playground/TestJavaLR.java index 25228cc48..7ec48c60c 100644 --- a/tool/playground/TestJavaLR.java +++ b/tool/playground/TestJavaLR.java @@ -123,7 +123,7 @@ class TestJavaLR { if ( x2 ) { System.gc(); System.out.println("waiting for 1st pass"); - while ( !firstPassDone ) { } // spin + if ( threaded ) while ( !firstPassDone ) { } // spin System.out.println("2nd pass"); doFiles(javaFiles); }