Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1: Attempt to format the following, which should not change. <code> /** * This is a test comment. * <p /> * Another comment. <br /> * Another comment. */ private void testMethod1() { } </code> You'll get this.... <code> /** * This is a test comment. <p /> Another comment. <br /> Another comment. */ private void testMethod1() { } </code> Which is not what is expected (and is not what occurs in eclipse 3.3). More information: Just FYI, the following, which is non-valid xhtml, formats just fine. <code> /** * This is a test comment. * <p> * Another comment. <br> * Another comment. */ private void testMethod2() { } </code>
Indeed the the comment is properly formatted using 3.3.2: /** * This is a test comment. * <p /> * Another comment. <br /> * Another comment. */ private void testMethod1() { } I'll inevstigate...
Created attachment 106326 [details] Proposed patch The FormatterCommentParser needed to accept this peculiar xhtml syntax while parsing html tag...
Released for 3.5M1. Jerome, could you validate the backport to 3.4.1?
+1 for 3.4.1 since this is a regression comparing to 3.3.2
Reopen to fix it in R3_4_maintenance stream...
Created attachment 106407 [details] Proposed patch for R3_4_maintenance stream
Released for 3.4.1
Verified the fix in the 3.4.1 stream fixed the issue.
Any ETA on when 3.4.1 will be released? I've hacked my copy by copying in the org.eclipse.jdt.core jar from the 3.4.1 stream, but it's a bit of a pain :)
(In reply to comment #9) > Any ETA on when 3.4.1 will be released? I've hacked my copy by copying in the > org.eclipse.jdt.core jar from the 3.4.1 stream, but it's a bit of a pain :) > According to http://wiki.eclipse.org/Ganymede#Coordinated_Service_Releases_.28Proposed.29, the tentative date for 3.4.1 is September 24th
(In reply to comment #10) > (In reply to comment #9) > > Any ETA on when 3.4.1 will be released? I've hacked my copy by copying in the > > org.eclipse.jdt.core jar from the 3.4.1 stream, but it's a bit of a pain :) > > > According to > http://wiki.eclipse.org/Ganymede#Coordinated_Service_Releases_.28Proposed.29, > the tentative date for 3.4.1 is September 24th > You can also use the latest maintenance stream build giving a preview of coming 3.4.1 and also including the fix you're waiting for... E.g. the last week maintenance build is accessible there: http://download.eclipse.org/eclipse/downloads/drops/M20080813-0800/index.php
(In reply to comment #8) > Verified the fix in the 3.4.1 stream fixed the issue. > Please do not change the status of bug. We use it during our milestone verification process, thanks
Bug was reopen to include it in verification process (we missed it during 3.5M1!)
Verified for 3.4.1 using M20080827-2000
Verified for 3.5M2 using I20080914-2000