View Issue Details

IDProjectCategoryView StatusLast Update
0002761JEDI VCL00 JVCL Componentspublic2005-03-16 03:21
ReporteranonymousAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version3.00 BETA 2 
Target VersionFixed in Version 
Summary0002761: ClearObjectList and ClearList function raise a error when assign a TComponentList value.
DescriptionClearObjectList and ClearList function raise a error when assign a TComponentList value.but the TList is ok.

ClearObjectList in JclSysUtils.pas.
ClearList in JvJCLUtils.pas.
TagsNo tags attached.

Activities

AHUser

2005-03-16 03:21

developer   ~0006712

TComponentList is a TObjectList and does not need the ClearList function because it frees it's items itself.
Calling ClearList() on a TObjectList (or derived class) will always fail (if not empty) because the items are freed and the the List.Clear method is invoked which on a TObjectList tries to free the items again.

Issue History

Date Modified Username Field Change
2005-03-16 02:40 anonymous New Issue
2005-03-16 03:21 AHUser Status new => closed
2005-03-16 03:21 AHUser Note Added: 0006712