[
https://issues.apache.org/jira/browse/MSHARED-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889470#comment-17889470
]
Herve Boutemy commented on MSHARED-1445:
----------------------------------------
DATE_MIN and DATE_MAX seem to have been introduced in MSHARED-1067 without
explanation on why they even exist
> Unix timestamps since the epoch are not subject to the boundary checks
> ----------------------------------------------------------------------
>
> Key: MSHARED-1445
> URL: https://issues.apache.org/jira/browse/MSHARED-1445
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-archiver
> Affects Versions: maven-archiver-3.6.2
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Critical
> Fix For: maven-archiver-4.0.0, maven-archiver-3.6.3,
> maven-archiver-4.0.0-beta-2
>
>
> The Javadoc says:
> {noformat}
> * @throws IllegalArgumentException if the outputTimestamp is neither ISO 8601
> nor an integer, or it's not within
> * the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z
> {noformat}
> but when a Unix timestamp since the epoch is passed it is simply passed
> through. No min/max check. We need to fix this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)