--- a/hotspot/test/serviceability/dcmd/gc/ClassHistogramTest.java Mon Mar 23 11:44:41 2015 -0700
+++ b/hotspot/test/serviceability/dcmd/gc/ClassHistogramTest.java Thu Mar 26 16:36:56 2015 +0100
@@ -33,6 +33,10 @@
* @test
* @summary Test of diagnostic command GC.class_histogram
* @library /testlibrary
+ * @modules java.base/sun.misc
+ * java.compiler
+ * java.management
+ * jdk.jvmstat/sun.jvmstat.monitor
* @build com.oracle.java.testlibrary.*
* @build com.oracle.java.testlibrary.dcmd.*
* @run testng ClassHistogramTest