1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00

2004-06-28 Alain Magloire

Possible fix for 68665
	* model/org/eclipse/cdt/internal/core/model/CElementInfo.java
This commit is contained in:
Alain Magloire 2004-06-28 22:16:07 +00:00
parent 2afbe7e5f4
commit 79ddb1f030
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-06-28 Alain Magloire
Possible fix for 68665
* model/org/eclipse/cdt/internal/core/model/CElementInfo.java
2004-06-28 Alain Magloire
Fix for PR 68820.

View file

@ -57,8 +57,10 @@ class CElementInfo {
}
protected ICElement[] getChildren() {
ICElement[] array= new ICElement[fChildren.size()];
return (ICElement[]) fChildren.toArray( array );
synchronized (fChildren) {
ICElement[] array= new ICElement[fChildren.size()];
return (ICElement[]) fChildren.toArray( array );
}
}