2003/06/16 07:58:57
[org.ibex.core.git] / src / org / xwt / js / Context.java
index 8533f34..34e4028 100644 (file)
@@ -25,13 +25,13 @@ public class Context {
     }
 
     public static String getSourceNameAndLineForThread(Thread t) {
-       CompiledFunction cf = getContextForThread(t).getCurrentFunction();
+       JS.CompiledFunction cf = getContextForThread(t).getCurrentFunction();
        if (cf == null) return "null";
        return cf.getSourceName() + ":??";
     }
 
     /** fetches the currently-executing javascript function */
-    public CompiledFunction getCurrentFunction() { return (CompiledFunction)currentFunction.get(Thread.currentThread()); }
+    public JS.CompiledFunction getCurrentFunction() { return (JS.CompiledFunction)currentFunction.get(Thread.currentThread()); }
 
     public static Context getContextForThread(Thread t) {
        Context ret = (Context)javaThreadToContextMap.get(t);