< prev index next >

test/hotspot/jtreg/runtime/HiddenClasses/StressHiddenClasses.java

Print this page

        

@@ -54,11 +54,11 @@
         for (int x = 0; x < ITERATIONS; x++) {
             Thread parserThread  = new Thread() {
                 public void run() {
                     try {
                         Lookup lookup = MethodHandles.lookup();
-                        Class<?> c = lookup.defineHiddenClass(klassbuf, true, NESTMATE, WEAK).lookupClass();
+                        Class<?> c = lookup.defineHiddenClass(klassbuf, true, NESTMATE).lookupClass();
                     } catch (Throwable e) {
                         throw new RuntimeException("Unexpected exception: " + e.toString());
                     }
                 }
             };
< prev index next >