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 22709 Details for
Bug 99142
Exception when shutting down quickly after starting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD
patch_99142.txt (text/plain), 1.46 KB, created by
Olivier Thomann
on 2005-06-09 12:17:01 EDT
(
hide
)
Description:
Apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-06-09 12:17:01 EDT
Size:
1.46 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/JavaModelManager.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java,v >retrieving revision 1.282 >diff -u -r1.282 JavaModelManager.java >--- model/org/eclipse/jdt/internal/core/JavaModelManager.java 8 Jun 2005 14:50:41 -0000 1.282 >+++ model/org/eclipse/jdt/internal/core/JavaModelManager.java 9 Jun 2005 16:16:24 -0000 >@@ -2294,15 +2294,22 @@ > } > > ArrayList vStats= null; // lazy initialized >- for (Iterator iter = this.perProjectInfos.values().iterator(); iter.hasNext();) { >- try { >- PerProjectInfo info = (PerProjectInfo) iter.next(); >- saveState(info, context); >- info.rememberExternalLibTimestamps(); >- } catch (CoreException e) { >- if (vStats == null) >- vStats= new ArrayList(); >- vStats.add(e.getStatus()); >+ ArrayList values = null; >+ synchronized(this.perProjectInfos) { >+ values = new ArrayList(this.perProjectInfos.values()); >+ } >+ if (values != null) { >+ Iterator iterator = values.iterator(); >+ while (iterator.hasNext()) { >+ try { >+ PerProjectInfo info = (PerProjectInfo) iterator.next(); >+ saveState(info, context); >+ info.rememberExternalLibTimestamps(); >+ } catch (CoreException e) { >+ if (vStats == null) >+ vStats= new ArrayList(); >+ vStats.add(e.getStatus()); >+ } > } > } > if (vStats != 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 99142
: 22709