Community
Participate
Working Groups
Build ID: HEAD as of 7/27/2007 In some cases, when the Java formatter expands a numerical HTML entity, it inserts a space before the entity. It shouldn't insert the space. Steps To Reproduce: 1. Format the following code: /** * <pre> * System.out.println("hello world"); * </pre> */ public class Foo { } 2. Note the space after "world".
Created attachment 74825 [details] Fix
Created attachment 74830 [details] Add regression test
Created attachment 74831 [details] Add regression test
Comment on attachment 74831 [details] Add regression test Sorry, I didn't mean to attach it twice.
Patch looks good. Thank you. Released for 3.4M1. Regression test added in org.eclipse.jdt.core.tests.formatter.comment.JavaDocTestCase#test198153
Hm, I don't see either the fix or the test in the CVS repository using either pserver access or viewcvs. Am I missing something? I wonder if the replication of the developers' CVS repository to the public one is broken.
I was about to release it when I realized that I forgot to run all JDT/UI tests. As soon as the tests are done successfully, I'll release the code.
Verified for 3.4M1 using build I20070806-1800.
Jérôme, The fix for this bug is also required to be backported for 3.3.1 in order to properly backport bug 109636. +1 for 3.3.1 ?
(In reply to comment #9) > Jérôme, > > The fix for this bug is also required to be backported for 3.3.1 in order to > properly backport bug 109636. > +1 for 3.3.1 ? > +1 for backporting to 3.3.1
Reopen for 3.3.1.
Released for 3.3.1 Regression test added in org.eclipse.jdt.core.tests.formatter.comment.JavaDocTestCase#test198153
Verified for 3.3.1 using build M20070831-2000.