Files.copy() under Linux at least will remove the existing destination even if the source cannot be read...
Alan Bateman
Alan.Bateman at oracle.com
Thu Feb 12 08:29:28 UTC 2015
On 11/02/2015 23:50, Francis Galiegue wrote:
> :
>>>
>>>
>>> To be brutally honest, I am very surprised that this test case was not
>>> even considered; it is a pretty plausible scenario...
>>>
There are huge number of scenarios when testing Files.copy and
Files.move and I think it's just that this one slipped through. I'll see
if I can find the issue that you submitted and get it to the right place.
-Alan
More information about the nio-dev
mailing list