JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... ... size of 2^16 entries. (Internally, the mechanism for resolving a ... code are TBD, but see static methods above for an example. Source ...
Jul 12, 2016 ... ... size of 2^16 entries. (Internally, the mechanism for resolving a ... code are TBD, but see static methods above for an example. Source ...
Java 8. Error 1721: There is a problem with this Windows Installer Package.
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
Error 1721: There is a problem with this Windows Installer Package. Red X image displayed where the applet should be, applets won't run. Error Code 1603: Java Update did not complete.
The workaround is of course simple: Dont make your fields public. Unfortunately this is difficult when using software that is affected by this bug and for which no source code is available. It simply breaks when changing from Java 6 to Java 7 without giving any error messages.
The limit is currently defined internally by `jdk.internal.util.ArraysSupport.MAX_ARRAY_LENGTH`.The REAL fix for this problem is to fix the JVM so that it can allocate arrays of length Integer.MAX_VALUE. From time to time I hear rumors that this might be possible.