commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bug #12642] Use of ClasspathToolkit in java.awt.EventQueue


From: anonymous
Subject: [commit-cp] [bug #12642] Use of ClasspathToolkit in java.awt.EventQueue
Date: Mon, 11 Apr 2005 10:28:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050321 Firefox/1.0.2

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12642>

                 Summary: Use of ClasspathToolkit in java.awt.EventQueue
                 Project: classpath
            Submitted by: None
            Submitted on: Mon 04/11/2005 at 06:28
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

Eventqueue currently casts Toolkit.getDefaultToolkit() to a
ClasspathToolkit.

This appears to be intended to give access to the native event queue
directly. The unforunate side effect of this is that any toolkits not derived
from ClasspathToolkit do not work.

This change appears to have been introduced as of 1.19 [1]. Prior to this
version there were no casting issues in java.awt.*.

This problem does not arise with any version of Sun's or IBM's JVMs.

[1]
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/EventQueue.java?annotate=1.19






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12642>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]