Closed GoogleCodeExporter closed 9 years ago
Although the unix 'cp' command is very smart about this kind of detection, I
don't think we'll be able to be very smart from within the confines of Java.
Our two choices are (a) just warn in javadoc, or (b) do a rudimentary sanity
check only (which still won't help the other copy() overloads).
Original comment by kevinb@google.com
on 12 Jan 2011 at 8:46
[deleted comment]
Java 7 will have a copy method that includes a check for this situation:
http://download.java.net/jdk7/docs/api/java/nio/file/Path.html#copyTo%28java.nio
.file.Path,%20java.nio.file.CopyOption...%29
It could be confusing if Guava attempts to solve this in a different way from
the JRE
Original comment by fin...@gmail.com
on 22 Jan 2011 at 1:23
Original comment by kevinb@google.com
on 27 Jan 2011 at 1:33
Original comment by fry@google.com
on 22 Mar 2011 at 6:29
Original comment by fry@google.com
on 23 Mar 2011 at 1:49
Original comment by kevinb@google.com
on 13 Jul 2011 at 6:18
Original comment by kevinb@google.com
on 16 Jul 2011 at 8:32
Original comment by fry@google.com
on 10 Dec 2011 at 4:00
Original comment by kurt.kluever
on 24 Jul 2012 at 5:42
A warning has been added to the Javadoc about this.
Original comment by cgdecker@google.com
on 26 Jul 2012 at 8:04
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:15
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:09
Original issue reported on code.google.com by
Roman.Ze...@gmail.com
on 6 Jan 2011 at 10:40