Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroliviert2011-04-14 17:44:27 +0000
committeroliviert2011-04-14 17:44:27 +0000
commit317f849c838dbf870503f849635be6a95d03d97e (patch)
treed04e3ab39271a93f320aaf2e01b27d580ee3292a
parentbe13c036d359c53ec4388f4f4099a6c78f7042b8 (diff)
downloadorg.eclipse.jdt.core-317f849c838dbf870503f849635be6a95d03d97e.tar.gz
org.eclipse.jdt.core-317f849c838dbf870503f849635be6a95d03d97e.tar.xz
org.eclipse.jdt.core-317f849c838dbf870503f849635be6a95d03d97e.zip
HEAD - Fixed bug 342455: AST swallows stars ('*') at end of {@code} and {@literal} Javadoc fragments
-rw-r--r--buildnotes_jdt-core.html4
-rw-r--r--compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java1
2 files changed, 4 insertions, 1 deletions
diff --git a/buildnotes_jdt-core.html b/buildnotes_jdt-core.html
index 23358ff98..b8e36e6ef 100644
--- a/buildnotes_jdt-core.html
+++ b/buildnotes_jdt-core.html
@@ -51,7 +51,9 @@ Eclipse SDK 3.7M7 - %date% - 3.7.0 M7
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
-<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342757">342757</a>
+<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342455">342455</a>
+AST swallows stars ('*') at end of {@code} and {@literal} Javadoc fragments
+<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342757">342757</a>
ArrayIndexOutOfBoundsException in MethodInfoWithParameterAnnotations.getParameterAnnotations when generating method info for an inner class constructor with annotated parameter
<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340691">340691</a>
Syntax error leads to ClassCastException in ASTConverter
diff --git a/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java b/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
index 057c99ab7..ba7d9a0d7 100644
--- a/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
+++ b/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
@@ -284,6 +284,7 @@ public abstract class AbstractCommentParser implements JavadocTagConstants {
refreshReturnStatement();
}
if (this.inlineTagStarted) {
+ textEndPosition = this.index - 1;
if (this.lineStarted && this.textStart != -1 && this.textStart < textEndPosition) {
pushText(this.textStart, textEndPosition);
}

Back to the top