RFR: 8275375: jfr/api/consumer/security/TestStreamingRemote.java fails with AccessControlException
Daniel D.Daugherty
dcubed at openjdk.java.net
Mon Oct 18 18:40:58 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.
I've changed JDK-8275375 into the [REDO] bug for JDK-8271949
so this PR will need to have its title updated to match the revised bug.
I usually do this with "/issue JDK-8275375".
Or this PR can be closed and a new PR opened with the original changes
from JDK-8271949 along with the fix for the test failures. In any case, I
would like to see this [REDO] run thru Mach5 testing prior to integration.
Please coordinate this testing with someone from Oracle.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5984
More information about the hotspot-jfr-dev
mailing list