Project: SWT
Bug 90222 Device constructor
Reported: 2005-04-04 16:39:16 | Status: resolved fixed

As part of trimming down the SWT API for eSWT, the DeviceData class was removed and a new constructor for Device was introduced (i.e., Device()). However, doing so has broken binary compatibility between eSWT and SWT. Could you add this new constructor for Device for the 3.1 release? public Device() { this(null); } If not, I can add back DeviceData, but I'd rather not. It is not a necessary class from our perspective.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java