Request for review 7147066: [macosx] FileDialog.getDirectory() returns incorrect directory (original) (raw)
Dmitry Cherepanov dmitry.cherepanov at oracle.com
Mon Feb 27 14:45:05 PST 2012
- Previous message: Review request for 7125044 - [macosx] Test failure because Component.transferFocus() works differently in applet and application.
- Next message: Request for review 7147066: [macosx] FileDialog.getDirectory() returns incorrect directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
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 - http://cr.openjdk.java.net/~dcherepanov/7147066/webrev/
Thanks, Dmitry
[1] http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/0e2f3e494814
- Previous message: Review request for 7125044 - [macosx] Test failure because Component.transferFocus() works differently in applet and application.
- Next message: Request for review 7147066: [macosx] FileDialog.getDirectory() returns incorrect directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]