Bug 558214 - [Cocoa] NPE in drawRectangles

NSWindow.grahicsContext() has been deprecated since 10.14 and returns
null. Try to create a graphics context from a new ImageRep.

Change-Id: Ia96229bff2db0bdd3424ea276c5201b117a2a05e
(cherry picked from commit c7ca9232da80053f1bf78c9f610574643ed39c12)
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/179635
Tested-by: Lakshmi P Shanmugam <lshanmug@in.ibm.com>
Reviewed-by: Lakshmi P Shanmugam <lshanmug@in.ibm.com>
1 file changed
tree: 284341720bc79f933dfc832c7671cac7519eb5a7
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

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:

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!