JDK 9 test-only RFR of 8179247: java/util/zip/TestExtraTime.java: add some instrumentation which might illuminate the failure of 2016-09-14

Brian Burkhalter brian.burkhalter at oracle.com
Wed Apr 26 19:00:43 UTC 2017


On Apr 26, 2017, at 11:14 AM, Roger Riggs <Roger.Riggs at oracle.com> wrote:

> The test.dir property seems like a convenience for the test developer.
> It is not defined by jtreg in the tag specification as are the other properties [1].
> It is not widely used in tests but could be understandable when manually testing to
> avoid cluttering the working directory with test files.

Logical.

> On the original webrev:
> In addition to checking if the directory exists would you want to list its contents?

Good idea.

> And if checking the status of zpath, list its permission attributes?

I had thought of that as well but did not implement it. I can add that also.

> Is there any chance that a previous delete of zpath has not completed, (since windows
> has the delayed delete if the file is in use behavior).
> I think can't think why that would be intermittent though.

Thanks,

Brian


More information about the core-libs-dev mailing list