On Fri, Sep 18, 2009 at 15:51, Wei Tan <[email protected]> wrote: > :-) Well, I was trying to understand the story that, workbench loaded > 0.6 interface, plug-in loaded a class that implements 0.7-SNAPSHOT > interface. > What is the mechanism that Raven knows it should be an error. You may > not want to answer since it is too complicated and I do not have to know > :-)
You keep pushing me! Well, if Raven could detect such an error that would make it much easier.. currently it does not. You will get a LinkageError or some kind of casting exception from the JVM itself because it will look like you are trying to assign an instance to the wrong class. It is "wrong" because there two interfaces look like two totally different classes to the JVM - even if source code-wise (and bytecode-wise) they are the same - they are different just by coming from two different classloaders. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ Developers Guide: http://www.mygrid.org.uk/tools/developer-information
