Project: SWT
Bug 59279 Item.setText() impl. doesn't follow JavaDoc
Reported: 2004-04-20 11:47:45 | Status: resolved fixed

According to the JavaDoc on Item.setText(String), the method should throw an IllegalArgumentException if the incomming text is null. Looking at the code from 04/20/2004 there doesn't seem to be a check in place to throw the proper exception.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTreeItem.java