RFR: 6245663: (spec) File.renameTo(File) changes the file-system object, not the File instance

Brian Burkhalter bpb at openjdk.java.net
Wed Feb 17 21:55:52 UTC 2021


Please review this minor specification update to highlight that `File.renameTo(File)` does not modify the `File` instance on which the method is invoked.

-------------

Commit messages:
 - 6245663: (spec) File.renameTo(File) changes the file-system object, not the File instance

Changes: https://git.openjdk.java.net/jdk/pull/2618/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2618&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-6245663
  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2618.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2618/head:pull/2618

PR: https://git.openjdk.java.net/jdk/pull/2618


More information about the core-libs-dev mailing list