Integrated: 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Justin Lu
jlu at openjdk.org
Wed Mar 1 18:17:17 UTC 2023
On Tue, 28 Feb 2023 00:07:05 GMT, Justin Lu <jlu at openjdk.org> wrote:
> The method `java.util.Date.parse(String)` and as a result, constructor `java.util.Date(String)` throw an `IllegalArgumentException`. This exception is not properly referenced in the javadoc, and this PR simply adds the throws javadoc tag to make it apparent.
This pull request has now been integrated.
Changeset: 05faa732
Author: Justin Lu <jlu at openjdk.org>
Committer: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/05faa7321bc076794048d3d069fa36b14f42ca70
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
-------------
PR: https://git.openjdk.org/jdk/pull/12779
More information about the core-libs-dev
mailing list