RFR: 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response [v2]

Daniel Fuchs dfuchs at openjdk.org
Tue Feb 7 15:03:05 UTC 2023


On Tue, 7 Feb 2023 12:20:23 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> [JDK-8297211](https://bugs.openjdk.org/browse/JDK-8297211) (#11258) missed one case with `last-modified` header. We can avoid expensive NPE.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
>   
>   rename Default to defaultValue

Looks like a good cleanup. Thanks for renaming `Default` into `defaultValue`.

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

Marked as reviewed by dfuchs (Reviewer).

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


More information about the net-dev mailing list