Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4167147

(spec) java.io.File.renameTo: Clarify spec wrt. system dependencies

XMLWordPrintable

    • b32
    • generic, x86
    • generic, linux

      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

            mr Mark Reinhold
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: