Integrated: 8325304: Several classes in java.util.jar and java.util.zip don't specify the behaviour for null arguments

Jaikiran Pai jpai at openjdk.org
Thu Feb 8 06:37:57 UTC 2024


On Tue, 6 Feb 2024 10:05:52 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this doc-only change which updates the javadoc of several classes in `java.util.jar` and `java.util.zip` to specify their behaviour when `null` arguments are passed to the constructor or methods of those classes?
> 
> For these updated classes, I have individually checked that they indeed throw a `NullPointerException` when `null` is passed to their constructor or methods. The couple of places where `null` is accepted have been updated to mention that `null` is allowed.

This pull request has now been integrated.

Changeset: 1fb9e3d6
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1fb9e3d674229a2f1b464a09986ad055191966fe
Stats:     63 lines in 14 files changed: 36 ins; 6 del; 21 mod

8325304: Several classes in java.util.jar and java.util.zip don't specify the behaviour for null arguments

Reviewed-by: lancea, alanb

-------------

PR: https://git.openjdk.org/jdk/pull/17728


More information about the core-libs-dev mailing list