RFR: 8275375: jfr/api/consumer/security/TestStreamingRemote.java fails with AccessControlException
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Tue Oct 19 02:18:56 UTC 2021
On Mon, 18 Oct 2021 18:38:25 GMT, Daniel D. Daugherty <dcubed 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.
>
> 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.
@dcubed-ojdk I've sent PR for redo process as #6000 , so I close this PR.
@egahlin @mgronlun Can you take a look #6000 ?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5984
More information about the hotspot-jfr-dev
mailing list