RFC: backport of JDK-8220657: JFR.dump does not work when filename is set

Mario Torre neugens at redhat.com
Wed Aug 14 16:35:38 UTC 2019


Hi all,

I would like to backport the following bug into jdk11u-dev:

https://bugs.openjdk.java.net/browse/JDK-8220657

The patch applied cleanly but doesn't compile since it depends on a
small method introduced with JDK-8224217 where the
WriteableUserPath.getRealPathText replaces WriteableUserPath.getText.

Instead of backporting 8224217 however, I decided for a less invasive
change, since the implementation is otherwise identical:

+  r.dumpStopped(wup);
+  reportOperationComplete("Dumped", name, new SafePath(wup.getText()));

Here's the proposed changeset:

http://cr.openjdk.java.net/~neugens/JDK-8220657/webrev.00/jdk11u-dev.changeset

And the original patch:

http://hg.openjdk.java.net/jdk/jdk/rev/bd613b97c7c8

Cheers,
Mario

-- 
Mario Torre
Associate Manager, Software Engineering
Red Hat GmbH <https://www.redhat.com>
9704 A60C B4BE A8B8 0F30  9205 5D7E 4952 3F65 7898


More information about the jdk-updates-dev mailing list