2003/06/16 08:44:09
[org.ibex.core.git] / src / org / xwt / MessageQueue.java
index fbebad4..82934cf 100644 (file)
@@ -117,13 +117,13 @@ public class MessageQueue extends Thread {
                 if ((m != null && m == MessageQueue.currentlyPerforming) || MessageQueue.working) {
                     String what, where;
                     if (m != null && m instanceof ThreadMessage) {
-                        where = org.xwt.js.Context.getSourceNameAndLineForThread((ThreadMessage)m);
+                        where = org.xwt.js.JS.Thread.fromJavaThread((ThreadMessage)m).getSourceName();
                         what = "background thread";
                     } else if (m != null) {
-                        where = org.xwt.js.Context.getSourceNameAndLineForThread(MessageQueue.singleton);
+                        where = org.xwt.js.JS.Thread.fromJavaThread(MessageQueue.singleton).getSourceName();
                         what = "event trap";
                     } else {
-                        where = org.xwt.js.Context.getSourceNameAndLineForThread(MessageQueue.singleton);
+                        where = org.xwt.js.JS.Thread.fromJavaThread(MessageQueue.singleton).getSourceName();
                         what = "script";
                     }
                     long howlong = (System.currentTimeMillis() - t) / 1000;