RFR: 8280366: (fs) Restore Files.createTempFile javadoc
Alan Bateman
alanb at openjdk.java.net
Tue Jan 25 07:55:34 UTC 2022
On Mon, 24 Jan 2022 18:47:45 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> This change reverts commit fb8fdc0fbf17dd7e900cb688df4917b97b26b9ab and then makes a smaller change to the verbiage of `Files.createTempFile `.
src/java.base/share/classes/java/nio/file/Files.java line 828:
> 826: * <p> As with the {@code File.createTempFile} methods, this method is only
> 827: * part of a temporary-file facility. Where the resulting file is used
> 828: * as a <em>work file</em> solely by a single instance of the Java virtual
I think the insertion of "solely by a single instance of the Java virtual machine" will create questions and we'll end up re-writing the paragraph again. I think I'd prefer to just restore the text and then start again with the questions that lead to the change in the first place.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7202
More information about the nio-dev
mailing list