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

Erik Gahlin egahlin at openjdk.java.net
Mon Oct 18 18:48:49 UTC 2021


On Mon, 18 Oct 2021 01:52:22 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> We can see AccessControlException in some JFR tests since [JDK-8271949](https://bugs.openjdk.java.net/browse/JDK-8271949). It is caused that SecurityException happens in both `File::canWrite` and `Path::toRealPath`. We should fall-through with empty path because the path will be evaluated when emergency dump happens.

Marked as reviewed by egahlin (Reviewer).

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

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


More information about the hotspot-jfr-dev mailing list