PreviousNextTracker indexSee it online !

(14/17) 3602318 - Fix bug 3597101

Increase scope for check of existence of inputted directory to include retrieval (i.e. getFiles() ) if successful, otherwise, "list" object remains null and is properly handled by existing code with an error message.

Submitted bengmur - 2013-01-27 - 23:26:30z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2013-01-28 - 02:01:40z
bengmur
Although the exception is now handled after the first patch, the directory tree still loaded an invalid path and displayed it to the user after the error was displayed.

The second patch I've uploaded addresses this issue so that no IO request is started within the setDirectory() method if the path is invalid.

Attachments

2013-01-27 - 23:26:35z
bengmur
bug-3597101.patch

\org\gjt\sp\jedit\io\FileVFS.java modified

2013-01-28 - 02:01:28z
bengmur
bug-3597101-2.patch

\org\gjt\sp\jedit\browser\VFSBrowser.java modified