Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 73896 Details for
Bug 196714
[comment] InvalidInputException prevents the AbstractCommentMapper to retrieve tag element
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_196714.txt (text/plain), 1.80 KB, created by
Olivier Thomann
on 2007-07-16 16:14:45 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-07-16 16:14:45 EDT
Size:
1.80 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java,v >retrieving revision 1.68 >diff -u -r1.68 AbstractCommentParser.java >--- compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java 16 Jul 2007 20:02:16 -0000 1.68 >+++ compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java 16 Jul 2007 20:15:33 -0000 >@@ -861,16 +861,22 @@ > // Report problem > this.currentTokenType = -1; > if (isCompletionParser) return false; >- end = hasMultiLines ? this.lineEnd: this.scanner.getCurrentTokenEndPosition(); >- while ((token=readToken()) != TerminalTokens.TokenNameWHITESPACE && token != TerminalTokens.TokenNameEOF) { >- this.currentTokenType = -1; >+ if (this.reportProblems) { >+ // we only need end if we report problems > end = hasMultiLines ? this.lineEnd: this.scanner.getCurrentTokenEndPosition(); >- } >- if (this.reportProblems) >+ try { >+ while ((token=readToken()) != TerminalTokens.TokenNameWHITESPACE && token != TerminalTokens.TokenNameEOF) { >+ this.currentTokenType = -1; >+ end = hasMultiLines ? this.lineEnd: this.scanner.getCurrentTokenEndPosition(); >+ } >+ } catch (InvalidInputException e) { >+ end = lineEnd; >+ } > if (mayBeGeneric && isTypeParam) > this.sourceParser.problemReporter().javadocInvalidParamTypeParameter(start, end); > else > this.sourceParser.problemReporter().javadocInvalidParamTagName(start, end); >+ } > this.scanner.currentPosition = start; > this.index = start; > this.currentTokenType = -1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196714
: 73896