Message1454

Author pqu
Recipients
Date 2007-02-14.11:10:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
It's me again. Still investigating with the SwingWorker class. It looks like jython is innocent. Using pure Java code to extract the methods of the class,
I found out that java itself thinks the publish method is transient.

--- snip ---
import java.lang.reflect.Method;
import org.jdesktop.swingworker.SwingWorker;

public class demo{
    public static final void main(String[] args) {
        System.out.println(SwingWorker.class.getName());
        for (Method method : SwingWorker.class.getDeclaredMethods())    {
            System.out.println(method.toString());
        }
    }
}

--- snap ----

$ java demo|grep publish
protected final transient void org.jdesktop.swingworker.SwingWorker.publish(java.lang.Object[])

javap get's it right... interesting. for jython this case is closed. sorry.
History
Date User Action Args
2008-02-20 17:17:43adminlinkissue1659616 messages
2008-02-20 17:17:43admincreate