On Fri, 26 Aug 2022 07:51:16 GMT, Jaikiran Pai <[email protected]> wrote:
> Can I please get a review of this javadoc only change for > `DatagramPacket#setLength()` method? This addresses > https://bugs.openjdk.org/browse/JDK-7113208. > > I haven't create a CSR because the javadoc was already stating the correct > behaviour in the `@throws` documentation as follows: > >> @throws IllegalArgumentException if the length is negative, > * or if the length plus the offset is greater than the > * length of the packet's data buffer. > > This commit merely fixes the main part of the javadoc. This pull request has now been integrated. Changeset: a366e82a Author: Jaikiran Pai <[email protected]> URL: https://git.openjdk.org/jdk/commit/a366e82aa1177f001d49f297c6e1d29ee283ca59 Stats: 18 lines in 1 file changed: 5 ins; 5 del; 8 mod 7113208: Incorrect javadoc on java.net.DatagramPacket.setLength() Reviewed-by: dfuchs ------------- PR: https://git.openjdk.org/jdk/pull/10037
