1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 03:55:22 +02:00

2004-06-29 Alain Magloire

Possible fix for 68665
	* model/org/eclipse/cdt/internal/core/model/CElementInfo.java
This commit is contained in:
Alain Magloire 2004-06-29 20:01:13 +00:00
parent 6090f669d4
commit a18436e415
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-06-29 Alain Magloire
Possible fix for 68665
* model/org/eclipse/cdt/internal/core/model/CElementInfo.java
2004-06-29 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 );
}
}