Commits


Kazuaki Ishizaki authored and liyafan82 committed b0b92695662
ARROW-10860: [Java] Avoid integer overflow for generated classes in Vector For the current implementation in the templates for Vector, `int * int` multiplication is used to calculate a buffer offset. The result may be larger than Integer.MAX_VALUE, which will lead to integer overflow and unexpected behaviors. This PR is like a follow-up of #8721. Closes #8876 from kiszk/ARROW-10860 Authored-by: Kazuaki Ishizaki <ishizaki@jp.ibm.com> Signed-off-by: liyafan82 <fan_li_ya@foxmail.com>