From e1f1cc9d2703ab313edc2aaae302e1c5f42de6a0 Mon Sep 17 00:00:00 2001 From: egahlin Date: Thu, 13 Dec 2018 15:40:11 +0100 Subject: [PATCH] 8215237: jdk.jfr.Recording javadoc does not compile Reviewed-by: mgronlun --- src/share/classes/jdk/jfr/Recording.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/classes/jdk/jfr/Recording.java b/src/share/classes/jdk/jfr/Recording.java index 26db88cf8..cfb1d8bb1 100644 --- a/src/share/classes/jdk/jfr/Recording.java +++ b/src/share/classes/jdk/jfr/Recording.java @@ -54,7 +54,7 @@ import jdk.jfr.internal.WriteableUserPath; * System.gc(); * Thread.sleep(5000); * r.stop(); - * r.copyTo(Files.createTempFile("my-recording", ".jfr")); + * r.dump(Files.createTempFile("my-recording", ".jfr")); * * * -- GitLab