--- a/hotspot/test/runtime/SharedArchiveFile/SharedStringsRunAuto.java Tue Jun 21 18:37:04 2016 +0400
+++ b/hotspot/test/runtime/SharedArchiveFile/SharedStringsRunAuto.java Fri Jun 24 19:52:31 2016 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -27,7 +27,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
* @modules java.base/jdk.internal.misc
* java.management