Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 402511

Summary: AWT xor-mode throws RasterFormatException when using OpenJDK 1.6.0
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF FXAssignee: gef-inbox <gef-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Matthias Wienand CLA 2013-03-06 05:26:01 EST
The GEF4 Graphics AWT backend throws a RasterFormatException when xor-mode is enabled, anti-aliasing is enabled, and drawing outside of the client area if running on the OpenJDK 1.6.0.

I expect this to be a Java 2D bug in the OpenJDK, therefore I reported the issue at the OpenJDK Bugzilla: https://bugs.openjdk.java.net/show_bug.cgi?id=100303

The current workaround is to disable anti-aliasing by calling

    graphics.setAntiAliasing(false);
Comment 1 Matthias Wienand CLA 2014-07-16 04:47:46 EDT
As Graphics is no GEF4 component anymore, the corresponding source code is not present anymore. Therefore, I set the status to RESOLVED, WONTFIX.
Comment 2 Alexander Nyßen CLA 2014-08-11 16:29:24 EDT
Change component to FX, as SwtFX is succeeded by FX.UI.