Project: SWT
Bug 235324 Canvas#getCaret() should tell that caret can be null
Reported: 2008-06-03 09:19:51 | Status: resolved fixed

I20080530-1730 Canvas#getCaret() should tell that the caret can be null. This snippet produces an NPE: Display display = new Display(); Shell shell = new Shell(display); Point size= shell.getCaret().getSize();

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java