Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1. Enter the following comment into a java document: /** * This is *my* comment */ 2. Format the document. 3. You should see the following: /** * This ismy comment */ Expected comments to stay the same. More information: I have tried various settings in the formatter to stop this but could not. This is a new issue in 3.4 and was correctly formatted in Eclipse 3.3.x
I cannot reproduce using 3.4.0 (i.e. I20080617-2000). What are your formatter preferences: Eclipse built-in profile or do you have specific settings?
I am also being affected by this bug. Here is my platform information. Version: 3.4.0 Build id: I20080617-2000 I have the Java formatter profile set to "Sun Code Conventions for the Java Programming Language". Is that sufficient for you to reproduce the failure?
I understand why I could not reproduce the problem, The summary was correct but not the test case which was done with a Javadoc comment instead of a block comment...
*** Bug 260274 has been marked as a duplicate of this bug. ***
Fixed by the patch attached to bug 254998: https://bugs.eclipse.org/bugs/attachment.cgi?id=122118 So, released for 3.5M5.
Created attachment 122271 [details] Proposed patch for R3_4_maintenance stream
Request to backport to 3.4.2 since this bug causes data loss, this is a regression comparing to 3.3.x, and the fix is quite simple and safe.
+1 for 3.4.2. Any data loss is critical.
Released for 3.4.2
*** Bug 260276 has been marked as a duplicate of this bug. ***
Verified for 3.5M5 using I20090125-2000 build
Verified for 3.4.2 using M20090127-1710.