Project: SWT
Bug 37497 Creating of new Image is failed in some cases.
Reported: 2003-05-12 09:35:26 | Status: resolved fixed

This is caused by little mistake in the copying of block of code in the new method init(): ................. if (blackIndex == -1) { /* There was no black in the palette, so just copy the data over */ //! System.arraycopy(source.data, 0, image.data, 0, //! System.arraycopy(source.data, 0, imageData.data, 0, imageData.data.length); .................

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java