RFR: 8005582 - java/lang/Runtime/exec/WinCommand.java intermittent test failures

Martin Buchholz martinrb at google.com
Wed Jan 9 19:33:55 UTC 2013


On Wed, Jan 9, 2013 at 10:49 AM, Jim Gish <jim.gish at oracle.com> wrote:

>
> I'm in the process of adding deletion retry behavior to jtreg, but in the
> meantime we think it makes sense to provide a more stable test environment
> by simply getting rid of the redundant deletes by the test itself.  There
> really is no need for tests to delete files from the scratch directory at
> the end of a test because jtreg carries a guarantee of cleanup.
>

I consider it good practice for a test to delete temporary files - it's
just a java program that might be run outside of the test harness.

Perhaps there's a deeper problem - why does the file system present
inconsistent views?  Is it a Windows bug?



More information about the core-libs-dev mailing list