In my experience, replacing a buggy class for another bug-free one, or one
set of classes for another one not always perfom as expected. I noticed this
issue for example if this class (or set) encloses a parser migration.
Depending of which version of parser rest of code is compiled with, it could
have bytecode corresponding with old method signatures and therefore throw
exceptions, e.g.: No method signature bla bla bla....
However this is my experience. Has this sense for someone else?
Adolfo.
>From: "David Bolsover" <junk1@bolsover.com>
>Reply-To: <junk1@bolsover.com>
>To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>Subject: RE: quick java classpath question
>Date: Mon, 7 Apr 2003 09:40:29 +0100
>
>why not just replace the existing class file in the jar with your new bug
>free version?
>
>db
>
>-----Original Message-----
>From: Dan Allen [mailto:dan@mojavelinux.com]
>Sent: 07 April 2003 08:58
>To: Struts-User List
>Subject: quick java classpath question
>
>
>If I were to fix a bug in a java file (or download a patched
>version) and place the compiled .class file in my classes/
>directory, would it override the class with the same name in the jar
>file? Case in point being if I had Struts 1.1rc1 but wanted to fix
>an existing bug. Would I need to rename the patched file if I
>didn't attempt to rebuild the struts jar file? If not I could just
>go with using a different name, but I was just wondering about this.
>
>Dan
>
>--
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>Daniel Allen, <dan@mojavelinux.com>
>http://www.mojavelinux.com/
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>Microsoft is not the answer, it is the question.
>The answer is NO!
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
|