[9] RFC on 8073061: Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
Alan Bateman
Alan.Bateman at oracle.com
Tue Feb 24 14:53:01 UTC 2015
On 24/02/2015 14:47, Brian Burkhalter wrote:
> :
>
> Given the foregoing, mightn’t a change such as this be appropriate?
>
> http://cr.openjdk.java.net/~bpb/8073061/webrev.01/
> <http://cr.openjdk.java.net/%7Ebpb/8073061/webrev.01/>
>
> With this change, the test in the issue description passes at any rate
> (no security manager active); I’ve no run the test suite yet.
>
No, this isn't the way to do this, it has to work with a security
manager too. I've had it on my list for a while to write out what is
needed, I'll try to get to it soon.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150224/8b87aed2/attachment.html>
More information about the nio-dev
mailing list