8233671: [TESTBUG] runtime/cds/appcds/sharedStrings/FlagCombo.java fails to compile without jfr
authorjiefu
Wed, 06 Nov 2019 15:20:06 +0800
changeset 58953 38d4202154f2
parent 58952 5cf915f418f2
child 58954 5bc2e9c9604d
8233671: [TESTBUG] runtime/cds/appcds/sharedStrings/FlagCombo.java fails to compile without jfr Reviewed-by: iklam
test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/FlagCombo.java
--- a/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/FlagCombo.java	Wed Nov 06 09:45:26 2019 -0800
+++ b/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/FlagCombo.java	Wed Nov 06 15:20:06 2019 +0800
@@ -38,6 +38,7 @@
  * @comment A special test excluding the case that requires JFR
  * @requires vm.cds.archived.java.heap & !vm.hasJFR
  * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
+ * @modules jdk.jartool/sun.tools.jar
  * @build HelloString
  * @run driver FlagCombo noJfr
  */