diff -r 889895365eb9 -r dd2f3932c21e hotspot/test/gc/TestSmallHeap.java --- a/hotspot/test/gc/TestSmallHeap.java Mon Mar 23 11:44:41 2015 -0700 +++ b/hotspot/test/gc/TestSmallHeap.java Thu Mar 26 16:36:56 2015 +0100 @@ -29,6 +29,7 @@ * @requires vm.compMode != "Xcomp" * @summary Verify that starting the VM with a small heap works * @library /testlibrary /../../test/lib + * @modules java.management/sun.management * @build TestSmallHeap * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseParallelGC TestSmallHeap