On Tue, Aug 20, 2013 at 1:10 PM, Mark Thomas <ma...@apache.org> wrote: > On 20/08/2013 18:47, Nick Williams wrote: >> My remaining original concern was the best approach for weaving byte >> code in Tomcat's unit tests, which I detailed in an earlier message. > > Use the Weaver to completely replace the byte code of the weaved class > with the byte code from another class? That way the compiler creates the > byte code so you know it is valid. > > Mark
That would be a much simpler approach. Thanks for pointing out the obvious, Mark! I couldn't see the forest for the trees. I was thinking way too complex. :-) I should have a patch soon, now. Nick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org