RFR: 8275375: jfr/api/consumer/security/TestStreamingRemote.java fails with AccessControlException

Erik Gahlin egahlin at openjdk.java.net
Mon Oct 18 18:53:54 UTC 2021


On Mon, 18 Oct 2021 11:24:57 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> `null` might be a solution for default value, but we cannot resolve this problem when relative path is passed to `dumppath`. We need to resolve it at first, otherwise we will see SecurityException again.

If you pass in a value, it's OK to resolve, but use SecuritySupport (to avoid security checks)

-------------

PR: https://git.openjdk.java.net/jdk/pull/5984


More information about the hotspot-jfr-dev mailing list