Re: JUnit
David Saff <[email protected]> Wed, 18 Nov 2009 14:31:25 -0500
| Newsgroups | gmane.comp.java.junit.devel |
|---|---|
| Message-ID | <[email protected]> |
Michel, 1) The list CC'ed is a fine way to reach us. 2) What did you first try in order to reach us? 3) Can you please open a bug at http://github.com/KentBeck/junit/issues Thanks, David Saff On Mon, Nov 16, 2009 at 5:47 PM, Michel Charpentier <[email protected]> wrote: > David, > > I tried very hard, but I couldn't find how to get in touch with JUnit dev= elopers, which is why I'm writing to you directly. > > Apparently, there's a problem with class loading on Mac OS X 10.6 when us= ing Java/Extensions. =A0I can send you (or anyone else) the details. =A0Bas= ically, everything works fine with junit-4.7.jar in the CLASSPATH, but thin= gs fail when junit-4.7.jar is in $HOME/Library/Java/Extensions instead. =A0= JUnitCore fails with Class.forName() throwing a ClassNotFoundException. > > If you replace, in JUnitCore.java, the line > > =A0classes.add(Class.forName(each)); > > with > > =A0classes.add(Class.forName(each, true, ClassLoader.getSystemClassLoader= ())); > > things work fine. =A0If that's fixed in the next release, that'd be great. > > Regards, > > MC ---------------------------------------------------------------------------= --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day = trial. Simplify your report design, integration and deployment - and focus = on = what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july