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

Brian Burkhalter bpb at openjdk.java.net
Fri Feb 19 16:38:40 UTC 2021


On Wed, 17 Feb 2021 21:48:16 GMT, Brian Burkhalter <bpb at 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 <bpb at 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


More information about the core-libs-dev mailing list