RFR: 8371091: Improve the exception message of NullPointerException thrown by the methods in the default implementation of HttpRequest.Builder [v2]
Jaikiran Pai
jpai at openjdk.org
Mon Nov 3 16:15:50 UTC 2025
On Mon, 3 Nov 2025 12:40:27 GMT, EunHyunsu <duke at openjdk.org> wrote:
> would it make sense to add a small new test method,
say testNullMessages(), in the same class to verify the exception messages specifically?
I think that should be OK. It doesn't have to be too complicated/generic either, as long as it tests these specific method calls.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28103#issuecomment-3481344136
More information about the net-dev
mailing list