diff -r 6da086d0f46d -r 2ccf2cf7ea48 jdk/test/java/lang/instrument/ManyMethodsBenchmarkAgent.java --- a/jdk/test/java/lang/instrument/ManyMethodsBenchmarkAgent.java Wed May 06 16:00:15 2015 -0700 +++ b/jdk/test/java/lang/instrument/ManyMethodsBenchmarkAgent.java Thu May 07 09:11:49 2015 +0200 @@ -27,6 +27,9 @@ * @summary Tests and benchmarks the JVMTI RedefineClasses when a * single class (and its parent) contains many methods. * + * @modules java.compiler + * java.instrument + * jdk.compiler * @run build ManyMethodsBenchmarkApp ManyMethodsBenchmarkAgent * @run shell MakeJAR3.sh ManyMethodsBenchmarkAgent 'Can-Retransform-Classes: true' * @run main/othervm -javaagent:ManyMethodsBenchmarkAgent.jar ManyMethodsBenchmarkApp