sharanggupta commented on issue #4399: URL: https://github.com/apache/logging-log4j2/issues/4399#issuecomment-6088115559
Opened #4400 against `2.x`: `MutableInstant.initFromEpochMilli` now uses `Math.floorDiv`, and `InstantPatternDynamicFormatter` uses `Math.floorDiv` and `Math.floorMod` for the cache key and the seconds. The PR has parameterized tests (the `MutableInstant` cases from this issue and a comparison with `DateTimeFormatter` for instants before the epoch) and a changelog entry. The `-1` cache sentinel from the "Related" section is not part of it, since #4322 rewrites that class. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
