> > You keep pushing me! > Sorry :-) > 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. > Well, thanks a lot Stian. At least it works for me now.
Wei -- Wei Tan, Ph.D. Computation Institute the University of Chicago|Argonne National Laboratory http://www.mcs.anl.gov/~wtan ------------------------------------------------------------------------------ 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
