Infinite loop in jdk/test/sun/management/windows/revokeall

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 2 18:35:16 UTC 2018


On 01/10/2018 17:43, JC Beyler wrote:
> Hi,
>
> Should we not be also incrementing i to get the next Ace? Otherwise, 
> we are always getting the same one and probably just waiting till the 
> count is 0 which would terminate the loop (if that is what we want, 
> why not just break?).
>
> Thanks,
> Jc
>
An alternative is to replace the revokeall tool in the test suite with 
test infrastructure that uses the new file system API. There is support 
for editing ACLs which I think should be enough to drop the entries that 
the runtime looks as part of its check to ensure that password file is 
secure.

-Alan


More information about the serviceability-dev mailing list