[
https://issues.apache.org/jira/browse/DIRMINA-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny closed DIRMINA-730.
-------------------------------------
Resolution: Invalid
No, I was right.
The 'int' is just used to store a transient number of written bytes, not the
cumulative number, which is stored in a long. There is no chance this number
can go above 2Gb, that would meant that all the data would be in memory. Your
server would have crashed way before ...
An int is enough in this case.
> IoServiceStatistics.increaseWrittenBytes () takes an int as increment rather
> than a long
> ----------------------------------------------------------------------------------------
>
> Key: DIRMINA-730
> URL: https://issues.apache.org/jira/browse/DIRMINA-730
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M6
> Environment: Mac OS X, Java 1.5
> Reporter: Matthew Phillips
> Priority: Minor
>
> See IoServiceStatistics:330:
> public final void increaseWrittenBytes(int increment, long
> currentTime)
> All other methods take a long, but increment is an int in this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.