From: Vijayan R. <vr...@ma...> - 2005-05-06 00:35:46
|
Hi, Our sources will compile only with JDK1.3, so I am needing Cobertura to run with JDK1.3 as well, so that when it modifies the class during instrumentation, the class version doesn't change. Thanks, Vijayan Reddy =20 Macromedia Research & Development Pvt. Ltd. Salarpuria Infinity, 3rd Floor, #5, Bannerghatta Road Bangalore -560 029 , India. Tel: +91 (80) 5193 9625 Mob: +91 93412 43944 http://www.macromedia.com =20 -----Original Message----- From: Mark Doliner [mailto:Mar...@sa...]=20 Sent: Thursday, May 05, 2005 7:28 PM To: Vijayan Reddy Cc: cob...@li... Subject: RE: [Cobertura-devel] Support Needed for JDK1.3.1 If you compile with a 1.4 JDK, do you get the same error? It kind of looks more like the problem is related to the fact that the classes you're testing are modified by Cobertura, which maybe results in a different serialVersionUID. But I'm not extremely knowledgeable in serialization. Have you tried setting serialVersionUID manually instead of letting Java generate it for you? (I'm not even sure if that makes sense) Is serialVersionUID created at compile-time or at run-time? -Mark =20 > -----Original Message----- > From: cob...@li...=20 > [mailto:cob...@li...] On=20 > Behalf Of Vijayan Reddy > Sent: Wednesday, May 04, 2005 8:34 AM > To: Elliotte Harold > Cc: cob...@li... > Subject: RE: [Cobertura-devel] Support Needed for JDK1.3.1 >=20 >=20 > 04/04 16:40:21 error Unhandled exception thrown from /index.jsp:4 >=20 > [3]java.lang.NoClassDefFoundError:=20 > jrun.jsp.runtime.ConstantTable; local > class incompatible: stream classdesc serialVersionUID =3D > 7882196080908754562, local class serialVersionUID =3D=20 > -8925406537132008355 >=20 >=20 >=20 >=20 > Vijayan Reddy > =20 > Macromedia Research & Development Pvt. Ltd. > Salarpuria Infinity, 3rd Floor, #5, Bannerghatta Road > Bangalore -560 029 , India. > Tel: +91 (80) 5193 9625 > Mob: +91 93412 43944 > http://www.macromedia.com > =20 >=20 > -----Original Message----- > From: Elliotte Harold [mailto:el...@me...]=20 > Sent: Wednesday, May 04, 2005 5:44 PM > To: Vijayan Reddy > Cc: cob...@li... > Subject: Re: [Cobertura-devel] Support Needed for JDK1.3.1 >=20 > Vijayan Reddy wrote: > > Hi, > >=20 > > =20 > >=20 > > We are users of JCoverage and have recently started using Cobertura. > We=20 > > like it. > >=20 > > =20 > >=20 > > But, we have an issue, as we are compiling our sources still with > JDK131=20 > > and the instrumented classes throw up errors. > >=20 > > =20 >=20 > Can you be more specific? What errors? >=20 >=20 > --=20 > Elliotte Rusty Harold el...@me... > XML in a Nutshell 3rd Edition Just Published! > http://www.cafeconleche.org/books/xian3/ > http://www.amazon.com/exec/obidos/ISBN=3D0596007647/cafeaulaitA/ > ref=3Dnosim >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4=20 > great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel >=20 |