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 175368 Details for
Bug 320809
ArrayIndexOutOfBoundsException in IndexManager.writeSavedIndexNamesFile - concurrency issue?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
patch.txt (text/plain), 1.33 KB, created by
Satyam Kandula
on 2010-07-28 02:23:07 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Satyam Kandula
Created:
2010-07-28 02:23:07 EDT
Size:
1.33 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java,v >retrieving revision 1.166 >diff -u -r1.166 IndexManager.java >--- search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java 13 May 2010 00:51:11 -0000 1.166 >+++ search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java 28 Jul 2010 06:09:26 -0000 >@@ -129,7 +129,7 @@ > } > deleteIndexFiles(knownPaths); > } >-public IPath computeIndexLocation(IPath containerPath) { >+public synchronized IPath computeIndexLocation(IPath containerPath) { > IPath indexLocation = (IPath) this.indexLocations.get(containerPath); > if (indexLocation == null) { > String pathString = containerPath.toOSString(); >@@ -168,7 +168,7 @@ > /* > * Creates an empty index at the given location, for the given container path, if none exist. > */ >-public void ensureIndexExists(IPath indexLocation, IPath containerPath) { >+public synchronized void ensureIndexExists(IPath indexLocation, IPath containerPath) { > SimpleLookupTable states = getIndexStates(); > Object state = states.get(indexLocation); > if (state == null) {
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 320809
:
175151
| 175368