JDK-6461488 : AWT should write XError-free code
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: linux_suse_sles_9.3
  • CPU: x86
  • Submitted: 2006-08-18
  • Updated: 2011-05-17
  • Resolved: 2011-05-17
Related Reports
Relates :  
Because of historical reason AWT doesn't try to avoid XErrors, but uses XErrorHandler instead.
(perhaps it was done to improve our performance).
It is ok in most situation, but if AWT is used with some user's native code or in combination
with SWT.  These errors may becaome visible for users and cause some "unpleasant" effects.
See for example:

Thus it would be better to fix AWT so every XError shows a real problem.  Not sure if it is
possible though :(

EVALUATION SWT issue #110163 is addressed by the fix for 6678385, so this issue is no longer actual. Closing it as will not fix (or "will not implement" as it should be considered an RFE rather than a bug).

EVALUATION this could be a long term project.