Summary: | [formatter] MalformedTreeException when formatting an invalid sequence of <code> tags in a javadoc comment | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, satyam.kandula, srikanth_sankaran | ||||
Version: | 3.6 | ||||||
Target Milestone: | 3.6 M4 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2009-11-06 13:30:15 EST
Note that modifying the comment 0 sample as follow: package wkps3; /** * This sample produce an AIIOBE when formatting. * * <p> First paragraph * {@link java.lang.String </code>a simple * string<code>}. */ public class X02 { } produces an AIOOBE when formatting it instead of a MTE... Not sure this is the same problem. I'll open a separate bug if after having investigated I see that's a different issue... Created attachment 151747 [details]
Proposed patch
Store the html tag level when entering into an inline tag, hence it's possible to restore it if necessary when leaving...
Released for 3.6M4 in HEAD stream. Verified for 3.6M4 using I20091207-1800 Verified for 3.6M4 using Build id: I20091207-1800 |