Community
Participate
Working Groups
Build ID: I20080523-0100 Steps To Reproduce: 1. Enable "Eclipse [built-in]" formatting settings (though it happens with my custom settings too) 2. Create a new Java class or edit an existing one, and create a line with the following text: // abc def'ghi 3. Make sure the comment line contains no trailing whitespace 4. Format the document (Shift-Ctrl-F) and watch the 'ghi segment disappear. The bug also affects lines with double-quote characters. More information: Using Eclipse 3.4 RC2 (I20080523-0100) on Linux x86_64 with Sun 1.6.0_03-b05. A friend on Mac OS X using RC 2 could not reproduce this. I'd consider this a critical bug because Eclipse is eating my source code. I have to diff all my files before check-in and reword any comments that were eaten.
Just updated to 3.4 RC3, and this bug seems to have gone away. I'd be happy to send more information if anyone's interested in confirming the cause. Leaving as NEW in case someone on the formatter team is interested. If not, feel free to resolve.
Sorry, I failed at leaving the bug NEW (stupid back button).
*** Bug 236566 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > *** Bug 236566 has been marked as a duplicate of this bug. *** > Forgot this comment, it was a mistake...
Thanks for the feedback, I think it has been fixed while fixing bug 232768...
Verified by user