RFR: [test,16] JDK-8164597 : TestIOException.java fails after push for JDK-8164130.

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jun 25 19:01:32 UTC 2020


On 6/25/20 11:27 AM, Pavel Rappo wrote:
> I think that knowing that is superfluous in most cases. If we choose a bigger block (e.g. java.nio.file.Files#copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...)) and capture the implicated files in a DocFileIOException, that could be more practical.

It would be better if a Lego block like Files#copy were more friendly 
and was specified to throw an exception from which you could obtain the 
Path that failed and the underlying cause.

-- Jon




More information about the javadoc-dev mailing list