RFR: 8291956: Simplify the loop condition in sun.net.httpserver.Request constructor

Jaikiran Pai jpai at openjdk.org
Fri Aug 5 12:34:47 UTC 2022


On Wed, 20 Jul 2022 14:02:39 GMT, thyecust <duke at openjdk.org> wrote:

> The condition at line 57 (after while) will evaluate to false
> if startLine == null, so the previous if-condition is covered.

Hello @thyecust, I've created a JBS issue to track this change https://bugs.openjdk.org/browse/JDK-8291956. Please change the title of this PR to `8291956: Simplify the loop condition in sun.net.httpserver.Request constructor` so that the review process gets initiated.

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

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


More information about the net-dev mailing list