--- a/test/hotspot/jtreg/gc/cms/GuardShrinkWarning.java Thu Jun 07 17:10:23 2018 -0700
+++ b/test/hotspot/jtreg/gc/cms/GuardShrinkWarning.java Thu Jun 07 17:38:34 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018, 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
@@ -26,6 +26,7 @@
* @key gc regression
* @summary Remove warning about CMS generation shrinking.
* @bug 8012111
+ * @requires !vm.graal.enabled
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management