Hacker News new | ask | show | jobs
by andrewmu 3892 days ago
Java only allows signed 32-bit integers as array indices. It 's a compile time error to access an array with a long index (http://docs.oracle.com/javase/specs/jls/se8/html/jls-10.html...).