Hi,
What is the limit of number members in a struct? I am trying to compile and I get following errors:
-
SensorDataX60A.java:3667: error: UTF8 representation for string "������������ÝMáb½Z..." is too long for the constant pool
-
SensorDataX60A.java:20883: error: constant string too long
"\u0000\u0000\u0000\u0000\u0006\u0000\u0006\u0000" +
^
Since Java compiler (javac) places a strict limit on the size of string literals to 65535 bytes. Is it because of this limit that it fails to compile?
Hi,
What is the limit of number members in a struct? I am trying to compile and I get following errors:
SensorDataX60A.java:3667: error: UTF8 representation for string "������������ÝMáb½Z..." is too long for the constant pool
SensorDataX60A.java:20883: error: constant string too long
"\u0000\u0000\u0000\u0000\u0006\u0000\u0006\u0000" +
^
Since Java compiler (javac) places a strict limit on the size of string literals to 65535 bytes. Is it because of this limit that it fails to compile?