Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6461488

AWT should write XError-free code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 7
    • client-libs
    • x86
    • linux_suse_sles_9.3

      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:
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=110163
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=142644

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

            art Artem Ananiev (Inactive)
            son Oleg Sukhodolsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: