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 11148 Details for
Bug 63077
IllegalArgumentException in Openable.codeSelect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
reverting to JavaModelException
patch20040525.txt (text/plain), 1.43 KB, created by
David Audel
on 2004-05-26 13:17:00 EDT
(
hide
)
Description:
reverting to JavaModelException
Filename:
MIME Type:
Creator:
David Audel
Created:
2004-05-26 13:17:00 EDT
Size:
1.43 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/Openable.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/Openable.java,v >retrieving revision 1.92 >diff -u -r1.92 Openable.java >--- model/org/eclipse/jdt/internal/core/Openable.java 12 May 2004 08:43:31 -0000 1.92 >+++ model/org/eclipse/jdt/internal/core/Openable.java 26 May 2004 16:58:22 -0000 >@@ -109,7 +109,7 @@ > return; > } > if (position < -1 || position > buffer.getLength()) { >- throw new IllegalArgumentException("Completion position "+position+" is not located in supplied source range (0, "+buffer.getLength()+")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ >+ throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.INDEX_OUT_OF_BOUNDS)); > } > JavaProject project = (JavaProject) getJavaProject(); > SearchableEnvironment environment = (SearchableEnvironment) project.newSearchableNameEnvironment(owner); >@@ -135,7 +135,7 @@ > } > int end= buffer.getLength(); > if (offset < 0 || length < 0 || offset + length > end ) { >- throw new IllegalArgumentException("Selected range ("+offset+ ", " + (offset+length)+") is not located in supplied source range (0, "+end+")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ >+ throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.INDEX_OUT_OF_BOUNDS)); > } > > // fix for 1FVXGDK
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 Raw
Actions:
View
Attachments on
bug 63077
:
10999
| 11148 |
11149