[jdom-interest] ClassCastException

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Sep 10 07:59:35 PDT 2002

At 10:48 AM -0400 9/10/02, kenk at boxerlearning.com wrote:

>What I'd like to know is:
>1) Has this been officially reported as a bug in JDOM?
>2) Does anyone know of any plans to address the problem?
>3) Has anyone contacted the junit people about this bug?  It seems to me like
>it's a bug in junit, as well.

This is neither a bug in JDOM nor a bug in JUnit. It is arguably a 
bug in your code; but really what it really is is a bug in the design 
of Java's class loading mechanism. There's not a whole hell of a lot 
either JDOM or JUnit can do about this. Sorry :-(

| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |

More information about the jdom-interest mailing list