Request for review 7147066: [macosx] FileDialog.getDirectory() returns incorrect directory

Dmitry Cherepanov dmitry.cherepanov at
Mon Feb 27 14:45:05 PST 2012


Here's a fix for two regressions caused by the changes for the multiple 
file selection support [1] (7124337). The fix adds an additional check 
"result == NSOKButton" to avoid the exception "attempt to insert nil 
object from objects[0]". Also after the fix, the file dialog returns a 
string constructed from -[NSURL path] (without the file protocol) as it 
was before the fix for 7124337.

Webrev -



More information about the macosx-port-dev mailing list