Bug 241493 - [formatter] No wrapping after <li> Javadoc tag
Summary: [formatter] No wrapping after <li> Javadoc tag
Status: VERIFIED DUPLICATE of bug 239941
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4.1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 02:44 EDT by Konstantin Scheglov CLA
Modified: 2008-09-16 04:24 EDT (History)
3 users (show)

See Also:


Attachments
Test case with context (825 bytes, text/java)
2008-07-21 08:15 EDT, Konstantin Scheglov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Scheglov CLA 2008-07-21 02:44:48 EDT
Build ID: Build id: I20080609-1311

Steps To Reproduce:
1. Create method with Javadoc like this:
	/**
	 * Gets "public" paths of the CSS resources referenced by module. There two sources for CSS resources:
	 * <ol>
	 * <li><code>link</code> tag in HTML file;</li>
	 * <li><code>stylesheet</code> tags in module file.</li>
	 * </ol>
	 */

2. Format compilation unit.

Note that if <br> after first </li> is missing, then second <li> begins on same line, directly after closing </li>. However in Javadoc view these items are displayed on separate lines (obviously).

IIRC this worked correctly in Eclipse 3.3


More information:
Comment 1 Markus Keller CLA 2008-07-21 06:49:44 EDT
The given example works for me with the Eclipse and Java Convention profiles.
Comment 2 Konstantin Scheglov CLA 2008-07-21 08:15:13 EDT
Created attachment 107927 [details]
Test case with context

Interesting, it seems that problem can be reproduced only in some context. I've reduced test case to two methods.
Comment 3 Markus Keller CLA 2008-07-21 08:37:05 EDT
(In reply to comment #2)
> Interesting, it seems that problem can be reproduced only in some context. I've
> reduced test case to two methods.

Yup, and I can reproduce this with 3.4 (I20080617-2000), but it works fine in HEAD.
Comment 4 Konstantin Scheglov CLA 2008-07-21 12:54:53 EDT
Yes, I can confirm that it works with eclipse-SDK-I20080716-1200-win32.zip 
So, for me this is not problem anymore. :-)
Comment 5 Frederic Fusier CLA 2008-08-19 12:28:42 EDT

*** This bug has been marked as a duplicate of bug 239941 ***
Comment 6 Olivier Thomann CLA 2008-08-28 12:56:23 EDT
Verified for 3.4.1 using M20080827-2000
Comment 7 David Audel CLA 2008-09-16 04:24:15 EDT
Verified for 3.5M2 using I20080914-2000