Re: Code Review 6977851: NPE from FileURLConnection.connect

2010-08-23 Thread Chris Hegarty
Michael McMahon wrote: Chris Hegarty wrote: Michael, The file handler can fail with NPE in cases where permission is denied to the directory. Small change, throw FileNotFoundException where a directory listing is not available. Webrev: http://cr.openjdk.java.net/~chegar/6977851/webrev.00/

Re: Code Review 6977851: NPE from FileURLConnection.connect

2010-08-23 Thread Michael McMahon
Chris Hegarty wrote: Michael, The file handler can fail with NPE in cases where permission is denied to the directory. Small change, throw FileNotFoundException where a directory listing is not available. Webrev: http://cr.openjdk.java.net/~chegar/6977851/webrev.00/webrev/ Thanks, -Chris.