--- old/test/jdk/jdk/jfr/event/io/EvilInstrument.java 2018-07-19 08:20:25.253668000 +0200 +++ new/test/jdk/jdk/jfr/event/io/EvilInstrument.java 2018-07-19 08:20:24.579657000 +0200 @@ -46,6 +46,7 @@ * @summary This test runs JFR with a javaagent that reads/writes files and * sockets during every class definition. This is to verify that the i/o * instrumentation in JFR does not interfere with javaagents. + * @requires vm.hasJFR * * @library /test/lib /test/jdk * @modules java.instrument