Hi, Dan. It is not IDEA bug - it is JUnit feature. JUnit team described it in the FAQ. The matter is that in order to reload classes on every run they wrote own class loader, which has these features. For detailed descriptions, please, look at the FAQ on www.junit.org.
To avoid that you can disable class reload feature in GUI test runner config file or mark some jars (I do not remember which concrete) as not reloadable. With the best regards, Yarick. North, Dan (Thought Works ) wrote: > Hi there. > > Not really a bug in IDEA, more likely some broken classpath nonsense, but I > wonder if anybody can point me in the right direction. > > I can run my unit tests perfectly well in IDEA if I use the text runner, but > if I use the UI runner, I sometimes come up against a LinkageError as > follows: > > java.lang.LinkageError: loader constraints violated when linking > org/xml/sax/XMLReader class. > > I'm using vanilla xerces and xalan. Is there perhaps something under the > junit hood that is using a conflicting xml reader? Any help gratefully > received - I'm much happier looking at a green bar than a row of dots :o) > > Cheers, > Dan _______________________________________________ Eap-bugs mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-bugs
