RFR: 8294519: (fs) java/nio/file/Files/CopyProcFile.java fails intermittenly due to unstable /proc/cpuinfo output

Aleksey Shipilev shade at openjdk.org
Thu Sep 29 09:35:48 UTC 2022


On Thu, 29 Sep 2022 01:17:36 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 1. Change source from `/proc/cpuinfo` to `/proc/version`.
> 2. Do not swallow errors in `@BeforeTest` config action.
> 3. Remove test from problem list.

Looks okay to me, and test passes on the system where it failed before.

test/jdk/java/nio/file/Files/CopyProcFile.java line 127:

> 125:             throw e;
> 126:         }
> 127:         if (Files.mismatch(Path.of(BUFFERED_COPY), Path.of(SOURCE)) != -1)

Braces?

-------------

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10479


More information about the nio-dev mailing list