Integrated: 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response

Andrey Turbanov aturbanov at openjdk.org
Sat Feb 25 13:43:12 UTC 2023


On Tue, 7 Feb 2023 09:19:06 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> [JDK-8297211](https://bugs.openjdk.org/browse/JDK-8297211) (#11258) missed one case with date headers: `last-modified`, `date`, `expires`. We can avoid expensive NPE.

This pull request has now been integrated.

Changeset: 3a9f491c
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3a9f491caa04db8b367129c50892bc669e5765bd
Stats:     36 lines in 3 files changed: 4 ins; 4 del; 28 mod

8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response

Reviewed-by: dfuchs, jpai, alanb

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

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


More information about the net-dev mailing list