[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq pull request #284: Avoid overflow errors with timestamps

GitHub user thisthat opened a pull request:

    Avoid overflow errors with timestamps

    Some comparisons with timestamp values are not safe. This comparisons can trigger errors that were found in other Apache projects, e.g. KAFKA-4290. 
    I changed those comparisons according to what the Java documentation recommends to help preventing such errors.

You can merge this pull request into a Git repository by running:

    $ git pull following_java_rec

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #284
commit 92a1926aa52de7d99142458ee74a6bb99cc5a963
Author: giliva <giovanni.liva@...>
Date:   2018-05-23T11:35:38Z

    Avoid overflow errors - see KAFKA-4290