druid/core
Gian Merlino 3db8967dee
FrameFile: Java 17 compatibility. (#12987) (#13002)
* FrameFile: Java 17 compatibility.

DataSketches Memory.map is not Java 17 compatible, and from discussions
with the team, is challenging to make compatible with 17 while also
retaining compatibility with 8 and 11. So, in this patch, we switch away
from Memory.map and instead use the builtin JDK mmap functionality. Since
it only supports maps up to Integer.MAX_VALUE, we also implement windowing
in FrameFile, such that we can still handle large files.

Other changes:

1) Add two new "map" functions to FileUtils, which we use in this patch.
2) Add a footer checksum to the FrameFile format. Individual frames
   already have checksums, but the footer was missing one.

* Changes for static analysis.

* wip

* Fixes.
2022-08-30 17:18:18 -07:00
..
src FrameFile: Java 17 compatibility. (#12987) (#13002) 2022-08-30 17:18:18 -07:00
pom.xml Update version to 24.0.0 2022-08-25 09:55:55 +00:00