Array Length is Too Large (ALTL)

Description:

During program execution, an attempt to create an array of more than MAX_INT / 2 elements has been attempted. ALTL will detects this situation and report it.

Example:

   int len = 2000000000;
   char[] a = new char[len]; // array length is too large