8230865: [TESTBUG] jdk/jfr/event/io/EvilInstrument.java fails at-run shell MakeJAR.sh target

Prebuilding the test class before adding it into a jar file

Reviewed-by: iignatyev, egahlin
This commit is contained in:
Mikhailo Seledtsov 2019-10-11 13:14:00 -07:00
parent d60ee287e1
commit 725da985e1

View File

@ -52,6 +52,7 @@ import jdk.test.lib.Utils;
* @library /test/lib /test/jdk
* @modules java.instrument
*
* @build jdk.jfr.event.io.EvilInstrument
* @run shell MakeJAR.sh EvilInstrument 'Can-Redefine-Classes: true'
* @run main/othervm -javaagent:EvilInstrument.jar jdk.jfr.event.io.EvilInstrument
*/