RFR: 8214545: sun/management/jmxremote/bootstrap tests hang in revokeall.exe on Windows
Alan Bateman
Alan.Bateman at oracle.com
Mon May 20 06:03:28 UTC 2019
On 19/05/2019 22:12, Daniil Titov wrote:
> Please review the change that fixes the failure of sun/management/jmxremote/bootstrap JMX tests on Windows platform. While running, these tests invoke revokeall.exe utility and this utility hangs.
>
> The problem here is that invokeall.exe goes into an endless loop while iterating over Access Control Entries (ACE) for a given file if it encounters at least one ACE with the type different from ACCESS_ALLOWED_ACE_TYPE.
>
> The change fixes this problem. It also removes revokeall.exe binary from the repository and changes the makefile to get it built instead.
>
> Tier1, tier2, tier3, jdk_svc, and sun/management/jmxremote/bootstrap tests succeeded in Mach5.
>
> Webrev: http://cr.openjdk.java.net/~dtitov/8214545
> Bug: https://bugs.openjdk.java.net/browse/JDK-8214545
Have you looked at replacing the tool with code that uses the
java.nio.file API? You can edit ACLs with that API.
-Alan
More information about the serviceability-dev
mailing list