-
Bug
-
Resolution: Fixed
-
P3
-
11, 12
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8216249 | 13 | Erik Gahlin | P3 | Resolved | Fixed | team |
JDK-8240423 | openjdk8u262 | Erik Gahlin | P3 | Resolved | Fixed | b01 |
The class Javadoc of jdk.jfr.Recording contains the following code which does not compile:
Configuration c = Configuration.getConfiguration("default");
Recording r = new Recording(c);
r.start();
System.gc();
Thread.sleep(5000);
r.stop();
r.copyTo(Files.createTempFile("my-recording", ".jfr"));
The issue is that Recording has no #copyTo(Path) method. Probably the #dump(Path) method was intended.
http://mail.openjdk.java.net/pipermail/hotspot-jfr-dev/2018-December/000299.html
Configuration c = Configuration.getConfiguration("default");
Recording r = new Recording(c);
r.start();
System.gc();
Thread.sleep(5000);
r.stop();
r.copyTo(Files.createTempFile("my-recording", ".jfr"));
The issue is that Recording has no #copyTo(Path) method. Probably the #dump(Path) method was intended.
http://mail.openjdk.java.net/pipermail/hotspot-jfr-dev/2018-December/000299.html
- backported by
-
JDK-8216249 jdk.jfr.Recording javadoc does not compile
-
- Resolved
-
-
JDK-8240423 jdk.jfr.Recording javadoc does not compile
-
- Resolved
-
-
JDK-8243862 jdk.jfr.Recording javadoc does not compile
-
- Resolved
-
- relates to
-
JDK-8239140 Backport JFR to OpenJDK 8
-
- Resolved
-