> The following methods in FileChooser class: showOpenDialog, 
> showOpenMultipleDialog and showSaveDialog throw IllegalArgumentException if 
> initialDirectory does not exist or is not a directory or is not accessible. 
> This can result in a poor user experience so callers should validate 
> initialDirectory or fall back to a safe default before showing the dialog.
> 
> Proposed fix:
> If this directory is not set, does not exist, is not a directory or is not 
> accessible the dialog will fall back to the platform-default location. The 
> default folder may be different across operating systems. Update the 
> specification of FileChooser class to clarify new behaviour.

Dmitry Markov has updated the pull request incrementally with one additional 
commit since the last revision:

  Replace directory with path

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/2101/files
  - new: https://git.openjdk.org/jfx/pull/2101/files/6fbc0fea..9635030c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=2101&range=05
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2101&range=04-05

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/2101.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2101/head:pull/2101

PR: https://git.openjdk.org/jfx/pull/2101

Reply via email to