Viewing the file in NetBeans, it indicates that it has an error, but doesn't say what. When I accessed the constant from another class, it gives an Uncompilable Source Code RuntimeException.
The file below is changed from the original only in that the package, class, and variable names are changed, and the original array has about 200x100 integers
package javaapplication;
class Constants
{
static final int[][] MAP =
{{1, 2, 3 },
{2, 3, 4 },
{4, 9, 0 },
{2, 3, 4 }};
}
I tried to isolate the problem, by starting with an array of 3 rows of 181 0's. I added one row at a time, without any errors, until I added the 69th row (exactly like all the others). Then, NetBeans indicated an error parsing the file.
Is there a limit of about 38,000 characters?