JDK 9 RFR of JDK-8156595: java/io/pathNames/GeneralWin32.java fail intermittently on windows-x64

Paul Sandoz paul.sandoz at oracle.com
Tue Dec 20 05:47:51 UTC 2016

Hi Amy,

I lack the context here so it feels like one is treating the symptoms rather than the cause.

Perhaps it would be better to ensure this test never runs concurrently? is that possible? i believe we did something like that for the streams tests.

Or perhaps the test should isolate it’s data via a temporary directory?


> On 19 Dec 2016, at 18:27, Amy Lu <amy.lu at oracle.com> wrote:
> Please review.
> Thanks,
> Amy
> On 12/5/16 4:23 PM, Amy Lu wrote:
>> java/io/pathNames/GeneralWin32.java
>> When tests run concurrently (-conc:N), it’s possible that this test will walk into and does some testing on other test’s working dir, other than it’s own.
>> Please review the patch to avoid this unexpected behavior by restricting the "checkNames" to test's own working directory.
>> bug: https://bugs.openjdk.java.net/browse/JDK-8156595
>> webrev: http://cr.openjdk.java.net/~amlu/8156595/webrev.00
>> Thanks,
>> Amy

More information about the core-libs-dev mailing list