Avatar
2.6.1. Local Variables A single local variable can hold a value of type boolean, byte, char, short, int, float, reference, or returnAddress. A pair of local variables can hold a value of type long or double.
https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-2.html#jvms-2.6.1