You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/10/14 20:44:00 UTC

[jira] [Created] (MSHARED-1445) Unix timestamps since the epoch are not subject to the boundary checks

Michael Osipov created MSHARED-1445:
---------------------------------------

             Summary: 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
             Fix For: maven-archiver-3.6.3


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)