On Wed, 17 Feb 2021 21:48:16 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> Please review this minor specification update to highlight that > `File.renameTo(File)` does not modify the `File` instance on which the method > is invoked. This pull request has now been integrated. Changeset: 851b2e31 Author: Brian Burkhalter <b...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/851b2e31 Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod 6245663: (spec) File.renameTo(File) changes the file-system object, not the File instance Reviewed-by: rriggs, naoto, alanb ------------- PR: https://git.openjdk.java.net/jdk/pull/2618