<AWT Dev> Review request for 7130662: GTK file dialog crashes with a NPE [WAS: Re: Bug 100221 - File dialog crashes with a NPE ]
anthony.petrov at oracle.com
Tue Jan 17 10:24:21 PST 2012
Thanks for the patch! I've uploaded a webrev for easier reviewing at:
A link to the bug: http://bugs.sun.com/view_bug.do?bug_id=7130662
(should be available in a day)
I've verified that the fix resolves the issue, so I'm approving the fix.
Comments from other AWT members are welcome!
On 1/17/2012 12:38 AM, melkor at orangepalantir.org wrote:
> (2012-01-16) (Matt) <melkor at orangepalantir.org>
> A fix was made to add a path separator to the end of the directory.
> The trailing slash fix can cause a NPE when the directory is null.
> This patch checks to see if the directory passed in is null, if it
> is not null then checks for a trailing path separator.
More information about the awt-dev