JDK 9 RFR of 8148821: (fs) Path.getParent() javadoc error

Alan Bateman Alan.Bateman at oracle.com
Wed Feb 3 21:08:27 UTC 2016



On 03/02/2016 20:47, Brian Burkhalter wrote:
> Please review this simple doc-only change at your convenience.
>
> Issue:https://bugs.openjdk.java.net/browse/JDK-8148821
> Patch:
>
> diff --git a/src/java.base/share/classes/java/nio/file/Path.java 
> b/src/java.base/share/classes/java/nio/file/Path.java
> --- a/src/java.base/share/classes/java/nio/file/Path.java
> +++ b/src/java.base/share/classes/java/nio/file/Path.java
> @@ -150,7 +150,7 @@
>       * #normalize normalize} method, to eliminate redundant names, 
> for cases where
>       * <em>shell-like</em> navigation is required.
>       *
> -     * <p> If this path has *one or more elements*, and no root 
> component, then
> +     * <p> If this path has *more than one element*, and no root 
> component, then
>       * this method is equivalent to evaluating the expression:
>       * <blockquote><pre>
>       * subpath(0, getNameCount()-1);
>
> A CCC request will be filed if needs must. There is no implementation 
> change and no change in behavior.
>
This looks fine, this paragraph is really more of an API note.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160203/a55aafa6/attachment.html>


More information about the nio-dev mailing list