test/jdk/java/util/Collection/IteratorMicroBenchmark.java
changeset 47730 c7b5b1ce8145
parent 47307 6864969a78ad
child 48541 946e34c2dec9
--- a/test/jdk/java/util/Collection/IteratorMicroBenchmark.java	Thu Nov 09 16:10:46 2017 -0800
+++ b/test/jdk/java/util/Collection/IteratorMicroBenchmark.java	Thu Nov 09 16:14:45 2017 -0800
@@ -233,7 +233,7 @@
     }
 
     // Checks for correctness *and* prevents loop optimizations
-    class Check {
+    static class Check {
         private int sum;
         public void sum(int sum) {
             if (this.sum == 0)