8194644: Typo in ModuleDescriptor.read javadoc
Reviewed-by: alanb
Contributed-by: christoph.dreis@freenet.de
--- 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