FIX: Large String Literals Can Cause Compiler Errors (156921)
The information in this article applies to:
This article was previously published under Q156921 SYMPTOMS
The Java Language Compiler (jvc) generates various compiler errors when a
string literal exceeds 1000 characters on one line.
WORKAROUND
You can avoid having string literals that exceed 1000 characters by
breaking your string literal into multiple lines and using the + (plus
sign) operator to combine the strings.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been fixed in
Visual J++ 1.1.
REFERENCES
For the latest Knowledge Base articles and other support information on
Visual J++ and the SDK for Java, see the following page on the
Microsoft Technical Support site:
Modification Type: | Minor | Last Reviewed: | 8/25/2005 |
---|
Keywords: | kbBug kbCommandLine kbfix kbVJ110fix KB156921 kbAudDeveloper |
---|
|