On Sun, 12 Feb 2023 09:10:52 GMT, Andrey Turbanov <aturba...@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

Reply via email to