7023034: Files.createTempDirectory((Path)null, "temp") does not throw NPE

Alan Bateman Alan.Bateman at oracle.com
Tue Mar 1 02:06:55 PST 2011


A small oversight in the implementation of Files.createTempFile and 
createTempDirectory. If the temporary directory is specified as null 
then NPE should be thrown. The webrev with the changes is here:
  http://cr.openjdk.java.net/~alanb/7023034/webrev/

Thanks,
Alan.


More information about the nio-dev mailing list