Hi Andrey,

Instead, perhaps replace (carefully) the remaining uses in the JDK.
Developers should be using the correct APIs and not reading deprecated javadoc.

Regards, Roger

On 2/6/23 11:41 AM, Andrey Turbanov wrote:
Hello.
I've noticed that method 'long java.util.Date.parse(String)' doesn't
have a reference to IllegalArgumentException in its javadoc.
https://docs.oracle.com/javase/7/docs/api/java/util/Date.html#parse(java.lang.String)
But this exception is thrown in implementation.

I know that this method is deprecated, but it still is used within JDK
code itself.
Is it intentional that exception is not documented in this method?

Andrey Turbanov

Reply via email to