RFR: 8377568: DataBuffer constructors and methods do not specify required exceptions [v7]

Phil Race prr at openjdk.org
Mon Feb 23 23:34:56 UTC 2026


On Mon, 23 Feb 2026 22:58:35 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> This was already raised and my response is that I want the custom message and also don't want to rely on implicit null.
>
> There is a requireNonNull version with custom message, why this new one is better than in Objects?

Not sure it matters much. But I've updated to use O.rnn

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29766#discussion_r2843614036


More information about the client-libs-dev mailing list