RFR: 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response [v3]
Andrey Turbanov
aturbanov at openjdk.org
Sun Feb 12 09:13:27 UTC 2023
On Wed, 8 Feb 2023 14:15:09 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.
>
> 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
>
> update copyright year
Javadoc of the `Date.parse` method does not mention which exceptions could be thrown. That's why I decided to be on the safe side and do not change exception type.
-------------
PR: https://git.openjdk.org/jdk/pull/12451
More information about the net-dev
mailing list