View | Details | Raw Unified | Return to bug 249785
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java (+1 lines)
Lines 133-138 Link Here
133
			this.deprecated = false;
133
			this.deprecated = false;
134
			this.lastLinePtr = getLineNumber(this.javadocEnd);
134
			this.lastLinePtr = getLineNumber(this.javadocEnd);
135
			this.textStart = -1;
135
			this.textStart = -1;
136
			this.abort = false;
136
			char previousChar = 0;
137
			char previousChar = 0;
137
			int invalidTagLineEnd = -1;
138
			int invalidTagLineEnd = -1;
138
			int invalidInlineTagLineEnd = -1;
139
			int invalidInlineTagLineEnd = -1;
(-)src/org/eclipse/jdt/core/tests/model/JavadocBugsCompletionModelTest.java (+19 lines)
Lines 1110-1113 Link Here
1110
		"BasicTestBugs.X[TYPE_REF]{X, bugs.b185576, Lbugs.b185576.BasicTestBugs$X;, null, null, "+emptyPositions+R_DRICUNR+"}"
1110
		"BasicTestBugs.X[TYPE_REF]{X, bugs.b185576, Lbugs.b185576.BasicTestBugs$X;, null, null, "+emptyPositions+R_DRICUNR+"}"
1111
	);
1111
	);
1112
}
1112
}
1113
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=249785
1114
public void testBug249785a() throws JavaModelException {
1115
	String source =
1116
		"package bugs.b171016;\n" +
1117
		"public class BasicTestBugs {\n" +
1118
		"	/**\n" +
1119
		"	 * @deprecated\n" +
1120
		"	 */\n" +
1121
		"	public int field\n" +
1122
		"	/**\n" +
1123
		"	 * @see #fie\n" +
1124
		"	 */\n" +
1125
		"	public void foo() {}\n" +
1126
		"}\n";
1127
	completeInJavadoc("/Completion/src/bugs/b171016/BasicTestBugs.java", source, true, "fie", -1);
1128
	assertSortedResults(
1129
		"field[FIELD_REF]{field, Lbugs.b171016.BasicTestBugs;, I, field, null, "+this.positions+R_DRICNRNS+"}"
1130
	);
1131
}
1113
}
1132
}

Return to bug 249785