Bug 418245 - [SWT_AWT] Embedded SWT in AWT broken on Mac with Java 7

In Java 7 and later, AWT widgets are backed by CALayer and not NSView.
This makes it impossible to embed NSView-backed SWT widgets into AWT
widgets. Make the limitation clear by throwing ERROR_NOT_IMPLEMENTED.

Since JAWT is no longer used, don't link to JavaVM framework.

Change-Id: Ic9932cd726ed98887bd12501729e9dc4994ff291
Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
3 files changed
tree: bb570e3c1ce5cfe976041c39c04a841b98f146f3
  1. bundles/
  2. container/
  3. examples/
  4. features/
  5. local-build/
  6. tests/
  7. .gitignore
  10. NOTICE
  11. README.md
  12. pom.xml

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!