changeset 48522:b2cd597479ea

8194644: Typo in ModuleDescriptor.read javadoc Reviewed-by: alanb Contributed-by: christoph.dreis@freenet.de
author alanb
date Thu, 04 Jan 2018 15:50:51 +0000
parents 68c6f57c40d4
children db09f53aba91
files src/java.base/share/classes/java/lang/module/ModuleDescriptor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java	Thu Jan 04 04:22:28 2018 +0000
+++ b/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java	Thu Jan 04 15:50:51 2018 +0000
@@ -2521,7 +2521,7 @@
      * the {@code packageFinder} throws an {@link UncheckedIOException} then
      * {@link IOException} cause will be re-thrown. </p>
      *
-     * <p> The module descriptor is read from the buffer stating at index
+     * <p> The module descriptor is read from the buffer starting at index
      * {@code p}, where {@code p} is the buffer's {@link ByteBuffer#position()
      * position} when this method is invoked. Upon return the buffer's position
      * will be equal to {@code p + n} where {@code n} is the number of bytes