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

Alan Bateman alanb at openjdk.org
Mon Feb 13 13:29:26 UTC 2023


On Mon, 13 Feb 2023 12:37:27 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Yes - thank you. This is supposed to be a simple cleanup so I'm feeling more comfortable that the logic hasn't changed. The code before the change was also catching Exception.

We can create a bug to replace the catch Exception with catch IllegalArgumentException, better still be to replace this usage (surprised it wasn't replaced a long time ago).

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

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


More information about the net-dev mailing list