Bug 538579 - DateTime SWT.DATE and SWT.Time styles do not allow to set

SWT.DATE & SWT.TIME need handle to be registered in widgetTable in order
function correctly. Added additional checks to register/deregister

Tested with attached snippet, no additional test breaks in

Change-Id: I928aa7122abba427af29242504c3a5feeacf141b
Signed-off-by: Xi Yan <xixiyan@redhat.com>
(cherry picked from commit 4637faea28199f85d42a4ca237ad145cd1f2d386)
2 files changed
tree: 6bca139a33066c15babb91b39007d3793ce1237a
  1. .gitignore
  2. README.md
  3. bundles/
  4. examples/
  5. features/
  6. local-build/
  7. pom.xml
  8. tests/

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).


Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!