On Fri, 26 Sep 2025 19:43:43 GMT, Brian Burkhalter <[email protected]> wrote:

> At line 143 of `canonicalize_md.c`, add `ERROR_NETNAME_DELETED` to the set of 
> error codes that `lastErrorReportable()` deems innocuous. The other changes 
> are opportunistic cleanup of indentation without behavioral effect.

It is inferred from code inspection that the test failure is due to 
`FindFirstFileW` failing with `ERROR_NETNAME_DELETED`. This does not appear to 
be an error more serious than `ERROR_NETWORK_UNREACHABLE` or 
`ERROR_NETWORK_ACCESS_DENIED`, hence ignoring it as well is unlikely to cause 
problems.

As the failure looks to occur only for list item 7 initialized by the 
`MethodSource` method `pathProviderWindows` in the `GetCanonicalPath` test, 
namely `\\\\server\\share\\foo\\bar\\gus`, an alternative would be to remove 
this path from the test and not make any implementation changes.

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

PR Comment: https://git.openjdk.org/jdk/pull/27532#issuecomment-3340240645

Reply via email to