Project: SWT
Bug 256688 IndexOutOfBoundsException in TreeItem
Reported: 2008-11-26 14:23:36 | Status: resolved fixed

calling setText(-1, "foo"), or setImage(-1, img) causes an exception. It should just do nothing.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java