hotspot/test/gc/g1/TestStringDeduplicationTools.java
changeset 42307 cefc81dc1d52
parent 40631 ed82623d7831
--- a/hotspot/test/gc/g1/TestStringDeduplicationTools.java	Wed Nov 23 16:16:34 2016 +0000
+++ b/hotspot/test/gc/g1/TestStringDeduplicationTools.java	Thu Dec 01 08:56:41 2016 +0000
@@ -190,6 +190,7 @@
             "-Xmx" + Xmx + "m",
             "-XX:+UseG1GC",
             "-XX:+UnlockDiagnosticVMOptions",
+            "--add-opens=java.base/java.lang=ALL-UNNAMED",
             "-XX:+VerifyAfterGC" // Always verify after GC
         };