JDK-4303354 : compiler emits bad string literals in constant pool for long strings
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2000-01-07
  • Updated: 2000-12-15
  • Resolved: 2000-12-15
Related Reports
Duplicate :  
In releases prior to jdk1.3, long string literals, e.g., >32 or >64 K characters, caused a compiler crash (4056998, 4210937).  As of jdk1.3,
the compiler does not crash, but may create an invalid class file, as the
class file format provides only 2 bytes for the length of the UTF-8 encoded
string.  The VM then complains when a program containing such a literal
is executed.

EVALUATION I submitted it -- description is correct. william.maddox@Eng 2000-01-07