On Tue, 15 Apr 2025 19:08:00 GMT, Bernd <d...@openjdk.org> wrote: > Is there a Risk that This breaks Applications which parses Potential UNC path > as URL (or even worse want to open them?. I am not sure if this actually ever > worked, but) I know people are reguläres confused about file:/// (when is it > needed),
Thanks for raising this important concern! The current behavior for _existing_ UNC paths would be unaffected by this change. The testing for UNC paths (by converting the path to UNC form and using `File::exists`) happens before the FTP fallback. See the Windows implementation of `Handler:openConnection`. I've added a short mention of this in the propsed release note. ------------- PR Comment: https://git.openjdk.org/jdk/pull/24657#issuecomment-2807371582