--- a/hotspot/test/runtime/SharedArchiveFile/SharedStrings.java Tue Jun 21 18:37:04 2016 +0400
+++ b/hotspot/test/runtime/SharedArchiveFile/SharedStrings.java Fri Jun 24 19:52:31 2016 +0400
@@ -28,7 +28,7 @@
* Feature support: G1GC only, compressed oops/kptrs, 64-bit os, not on windows
* @requires (sun.arch.data.model != "32") & (os.family != "windows")
* @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true)
- * @requires (vm.gc=="G1" | vm.gc=="null")
+ * @requires vm.gc.G1
* @library /testlibrary /test/lib
* @modules java.base/jdk.internal.misc
* java.management