Hello, 

please review this fix for bug 
https://bugs.openjdk.java.net/browse/JDK-8022580 
Webrev: 
http://cr.openjdk.java.net/~msolovie/8022580/webrev.00/ 

Description: 
There is no handling for null path parameter in the method 
sun.net.ftp.impl.FtpClient#nameList(), while javadoc says that "@param path a 
String containing the pathname of the directory to list or null for the current 
working directory". Changeset adds check that if param is null NLST will be 
sent without parameter (no-parameter default is current directory). 

JPRT tested. 

Thank you, 
Svetlana

Reply via email to