Integrated: 8377910: Minor cleanup of java/io/FileDescriptor/Sharing.java

Brian Burkhalter bpb at openjdk.org
Tue Feb 17 18:10:07 UTC 2026


On Fri, 13 Feb 2026 17:14:31 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Null checks potentially mask a more serious, fundamental problem and should be removed to allow a `NullPointerException` to be throw if the variable is `null`.

This pull request has now been integrated.

Changeset: 7489f75d
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7489f75dbdb1358b7f905aad2d1510b7ffc173bf
Stats:     44 lines in 1 file changed: 10 ins; 2 del; 32 mod

8377910: Minor cleanup of java/io/FileDescriptor/Sharing.java

Reviewed-by: alanb

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

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


More information about the core-libs-dev mailing list