Fix typo in documentation of ModuleDescriptor.read() variant (original) (raw)
Christoph Dreis christoph.dreis at freenet.de
Wed Jan 3 12:49:48 UTC 2018
- Previous message: Fix typo in InetSocketAddress.getAddress() documentation
- Next message: Possible VM deadlock due to FileSystems.getDefault and System.loadLibrary interplay
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I just found a typo in the documentation of ModuleDescriptor.read(ByteBuffer bb, Supplier<Set> packageFinder).
I'd be happy if the attached patch is reviewed and eventually sponsored.
Cheers, Christoph ====== PATCH ======= diff -r 3a52333a5e57 src/java.base/share/classes/java/lang/module/ModuleDescriptor.java --- a/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java Tue Jan 02 16:35:04 2018 -0500 +++ b/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java Wed Jan 03 13:42:27 2018 +0100 @@ -2521,7 +2521,7 @@ * the {@code packageFinder} throws an {@link UncheckedIOException} then * {@link IOException} cause will be re-thrown.
** <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
- Previous message: Fix typo in InetSocketAddress.getAddress() documentation
- Next message: Possible VM deadlock due to FileSystems.getDefault and System.loadLibrary interplay
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]