On Tue, 10 Mar 2026 23:23:46 GMT, Kevin Rushforth <[email protected]> wrote:

>> yeah, an invalid directory should work same as `null`.
>
> All good points. I'm convinced. And yes, I agree that whatever we do when the 
> dir is `null` would be a reasonable expectation if the dir is not null but 
> inaccessible.

+1 from me. 

As Christopher also wrote below, I also had several application bugs because a 
User moved a directory, but even worse, one time the folder was not writable at 
a later point (The app remembered the last chosen path). So checking for 
existence seems easy, but there could be other problems and therefore other 
checks that need to be implemented.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2101#discussion_r2923287392

Reply via email to