Review request: 8004042 : Arrrghs.java test failed on windows with access error.
Alan.Bateman at oracle.com
Sat Dec 8 10:37:29 UTC 2012
On 07/12/2012 21:39, David DeHaven wrote:
> It turns out the culprit on my machine was Windows' "Application Experience" service. Each time the batch file is launched svchost.exe tries to access the file, if it doesn't release it's file locks quickly enough then when java attempts to create a new file it fails with AccessDeniedException. In procmon this was showing up as a "DELETE PENDING" result, followed by svchost.exe getting the same result at least twice then giving up. Disabling that service allowed me to run my filesystem tests unpatched without failing.
Good sleuthing, I guess some of us owe at least one AV vendor a written
I wonder if we should submit a bug to Microsoft, it's very surprising to
have a service running by default that causes interference like this.
This investigation also makes me wonder if
java/lang/Runtime/exec/WinCommand.java might be another victim.
More information about the core-libs-dev