On Tue, 28 Feb 2023 00:07:05 GMT, Justin Lu <[email protected]> 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 <[email protected]> Committer: Naoto Sato <[email protected]> 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
