diff --git a/test/jdk/jdk/jfr/tool/TestPrintContextual.java b/test/jdk/jdk/jfr/tool/TestPrintContextual.java index efecc31cb16..15486148b9c 100644 --- a/test/jdk/jdk/jfr/tool/TestPrintContextual.java +++ b/test/jdk/jdk/jfr/tool/TestPrintContextual.java @@ -410,6 +410,7 @@ public class TestPrintContextual { private static List readPrintedLines(Path file, String... options) throws Exception { JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("jfr"); launcher.addToolArg("print"); + launcher.addToolArg("--exact"); for (String option : options) { launcher.addToolArg(option); }