Project: SWT
Bug 213200 [Leopard] errors logged to console by CGPathGetCurrentPoint
Reported: 2007-12-17 12:17:55 | Status: resolved fixed

Leopard is logging an error to the console when CGPathGetCurrentPoint is called on an empty path. This does not happen on Tiger. Error logged: <Error>: CGPathGetCurrentPoint: path 0x866600: no current point. Test Case: shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { Path path = new Path(display); path.getCurrentPoint(new float[2]); path.dispose(); } });

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Path.java