<AWT Dev> Bug 100221 - File dialog crashes with a NPE

melkor at orangepalantir.org melkor at orangepalantir.org
Mon Jan 16 12:38:46 PST 2012

(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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
Url: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20120116/4d74c19f/patch.txt 

More information about the awt-dev mailing list