Bug 99509 - Infinit loop in DocCommentParser
Summary: Infinit loop in DocCommentParser
Status: RESOLVED DUPLICATE of bug 99507
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 07:26 EDT by julien CLA
Modified: 2005-06-11 12:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description julien CLA 2005-06-11 07:26:41 EDT
In 31RC1, in case of the following JavaDoc,

/**
 * @param test
 */

JDT fails in infinit loop at at line 857 of the 
AbstractCommentParser.parseParam():

while (readToken() != TerminalTokens.TokenNameWHITESPACE) {
	this.currentTokenType = -1;
	end = hasMultiLines ? this.lineEnd: 
this.scanner.getCurrentTokenEndPosition();
}

If fact, the current token is TokenNameEOF.
Comment 1 Olivier Thomann CLA 2005-06-11 12:49:56 EDT

*** This bug has been marked as a duplicate of 99507 ***