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

Daniel D.Daugherty dcubed at openjdk.java.net
Mon Oct 18 18:07:56 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.

It looks to me like this issue will take a bit of time to resolve so
I've created this PR:

JDK-8275436 [BACKOUT] JDK-8271949 dumppath in -XX:FlightRecorderOptions does not affect
https://github.com/openjdk/jdk/pull/5994

for doing a [BACKOUT] of the fix that caused these failures.

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

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


More information about the hotspot-jfr-dev mailing list