Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 148770

Summary: Save failure on file containing a huge string concatenation
Product: [Eclipse Project] JDT Reporter: Maxime Daniel <maxime_daniel>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug

Description Maxime Daniel CLA 2006-06-27 01:54:56 EDT
This is a fup of bug 102728. Without the fix for 102728, it is masked by other errors. 
When a java file contains a string concatenation comprising > 100K terms, the save operation fails with message 'Save failed: null'. The file keeps the modification marker (*), and the contents are not saved to the filesystem.
Philippe contends that, while such files should not happen in the normal course of development projects (the 64K limit on method code size is reached for file more than ten times smaller), such situations can still raise from the use of generators, for example, and a more graceful behavior would be to save the contents anyway, giving the user a better opportunity to fix the file contents afterwards.
Comment 1 Philipe Mulet CLA 2006-10-11 03:59:30 EDT
Such an error shouldn't prevent the working copy to be committed in the end (fault tolerant mode).
Comment 2 Eclipse Genie CLA 2019-01-04 04:27:09 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.