RFR of 8024086:(fs) AtomicMoveNotSupportedException allows reason to be null

Brian Burkhalter brian.burkhalter at oracle.com
Thu Apr 23 01:16:43 UTC 2015


This trivial specification issue does seem to have merit:

Issue:	https://bugs.openjdk.java.net/browse/JDK-8024086
Diff:

--- a/src/java.base/share/classes/java/nio/file/AtomicMoveNotSupportedException.java
+++ b/src/java.base/share/classes/java/nio/file/AtomicMoveNotSupportedException.java
@@ -45,7 +45,7 @@
      * @param   target
      *          a string identifying the target file or {@code null} if not known
      * @param   reason
-     *          a reason message with additional information
+     *          a reason message with additional information or {@code null}
      */
     public AtomicMoveNotSupportedException(String source,
                                            String target,

It’s probably a virtual guarantee however that stating it is “trivial” will result in a “no, it’s non-trivial.”

Please review at your convenience. Does not seem that a CCC request would be needed here, does it?

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150422/69540e3d/attachment.html>


More information about the nio-dev mailing list