GitHub user wcrowell opened a pull request:
https://github.com/apache/activemq/pull/202
Fixes AMQ-6441 where a negative value can be returned with large AWS EFS
files systems when calling java.io.File.getTotalSpace()
Fixes AMQ-6441
A test, testLargeFileSystem(), was added to
org.apache.activemq.broker.BrokerServiceTest for checking if the total space on
a volume was too large to fit into a primitive long. If this happens, then
totalSpace is set to java.lang.Long.MAX_VALUE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wcrowell/activemq master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/202.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 #202
----
commit c94b1a2eec78a0fd15763b64dcdff455bfc66e52
Author: William Crowell <[email protected]>
Date: 2016-09-29T12:22:46Z
Fixes AMQ-6441 where a negative value can be returned with large AWS EFS
files systems when calling java.io.File.getTotalSpace()
commit 0c98ecfa2b903ce1301802617b8c5152048364f4
Author: William Crowell <[email protected]>
Date: 2016-09-29T12:24:41Z
Fixes AMQ-6441 where a negative value can be returned with large AWS EFS
files systems when calling java.io.File.getTotalSpace()
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---