RFR: 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response [v3]
Alan Bateman
alanb at openjdk.org
Sun Feb 12 09:27:27 UTC 2023
On Sun, 12 Feb 2023 09:10:52 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> 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.
That's a bug in its javadoc. It may be deprecated but it should specify that it throws IAE if the input cannot be parsed.
-------------
PR: https://git.openjdk.org/jdk/pull/12451
More information about the net-dev
mailing list