git.net

[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:

    https://github.com/apache/activemq/pull/284

    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 https://github.com/thisthat/activemq following_java_rec

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

    https://github.com/apache/activemq/pull/284.patch

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

----


---



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-activemq-developers/msg08580.html on line 102
Call Stack
#TimeMemoryFunctionLocation
10.0007363672{main}( ).../msg08580.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-activemq-developers/msg08580.html on line 102
Call Stack
#TimeMemoryFunctionLocation
10.0007363672{main}( ).../msg08580.html:0