Clarify the specification of the renameTo method to say that its operation is
inherently system-dependent and that, in particular, it may or may not be
atomic and it may or may not succeed if a file or directory already exists
under the target name. -- mr@eng 8/18/1998
From a licensee :
# I think in the short term it would be good to add to the spec and javadoc
# output for renameTo, a note warning users of the difference between the
# unix and Win32 platforms.
#
# Would this be possible?
#
mick.fleming@Ireland 1999-04-14
inherently system-dependent and that, in particular, it may or may not be
atomic and it may or may not succeed if a file or directory already exists
under the target name. -- mr@eng 8/18/1998
From a licensee :
# I think in the short term it would be good to add to the spec and javadoc
# output for renameTo, a note warning users of the difference between the
# unix and Win32 platforms.
#
# Would this be possible?
#
mick.fleming@Ireland 1999-04-14
- duplicates
-
JDK-6722636 File.renameTo() fail conditions are non-clear
-
- Closed
-
-
JDK-4414890 (spec) document that File.renameTo() can't rename to NFS-mounted filesystems
-
- Closed
-
- relates to
-
JDK-4017593 java.io.File.renameTo has different semantics on Solaris and Win32
-
- Closed
-