你在什么地方访问的,security都出来了。

解决方案 »

  1.   

    在JAVA中int 大小有限制 不能超过 65535 改为BigDecimal即可
      

  2.   

    是这样的我在public class BasePyT 这个类中定义了如下数组:
    public static final int[][] PyCodeIndex = { 
        {483,389,458,273,262, 50,395, 88,350,232,482, 24,182,172,178,213, 42,517,144,180,
         117,477,477,456,182,157,508,161,394,478,471,121,182,146,158, 90,395,279,190,201,
         437,269,311, 29,469,472,326,386,276,341,410,103, 65, 39,507,141,122,243,235,477,
         186,249,507,  0,483,408,415,128,471,499,471, 68,475,460,180,475,482,500,231, 97,
         451,172,355,456,  7, 24,115,423,102,459,503,159,147, 25, 44,501,389,361,108,263,
         341,455,474,112, 55,450, 81,508,320,483, 84, 96,456,477,463,172,  3,478,328,393,
         117,422,522,487,184,459,470,463,494,459,301,291,462,467,509,522, 17,328,477,408,
         477,506,147,250,510, 26,351, 18,502, 59,473,500, 18,459,351,395, 13,166,151,460,
         125,107,266, 24,155,168,141,352, 59,464,393,445,145,220,477,140,478,261,467,  4,
         242,106,245, 40, 48,470,509,366,175,408, 69},..................
    这个数组是一个126×191的二维数组
    然后我在这里访问它
    public static void main(String[] args)
      {
        System.out.println(BasePyT.PyCodeIndex[10][10]);
      

  3.   

    哦,错了,int 不能超过2147483647
      

  4.   


    一个方法中的代码大于65535 bytescannot be interpreted as a class file
      

  5.   

    难道java中不能定义一个数组大于65535 bytes
      

  6.   

    一个方法中的代码大于65535 bytescannot be interpreted as a class file
      

  7.   

    不允许一个方法中的代码大于65535 bytes
      

  8.   

    这是jvm规范... 只能自己变通一下了...
    这么多数输入到方法里,呵呵,很佩服你的耐力...
      

  9.   

    我看是直接赋值的格式不对。二维数组初始如下:
      int[3][4] arryInt={{1,2,3,4},{},{}};或者说“这个数组是一个126×191的二维数组” 应该有126组{}构成整个的数据,每个{}的最大长度为191。  总共用到{}127对。
      

  10.   

    Shrewdcat(丧邦&灵猫&潇) 格式没有错,如果格式错了在编译期间就会报错.估计是java规范不支持大于65535 bytes的静态数组,我改成动态加载就没问题了
      

  11.   

    ft 你怎么还说数组啊
    Code of a method  longer than 65535 bytes
    是方法
      

  12.   

    是语句超过了65535 bytes
    不时方法.