8194644: Typo in ModuleDescriptor.read javadoc
authoralanb
Thu, 04 Jan 2018 15:50:51 +0000
changeset 48431 b2cd597479ea
parent 48430 68c6f57c40d4
child 48432 db09f53aba91
8194644: Typo in ModuleDescriptor.read javadoc Reviewed-by: alanb Contributed-by: christoph.dreis@freenet.de
src/java.base/share/classes/java/lang/module/ModuleDescriptor.java
--- 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