tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Shanahan <>
Subject RE: [4.1.9] New test milestone released
Date Mon, 12 Aug 2002 06:54:11 GMT

There is a bug in 4.1.9 (a Jasper bug) that breaks my
application completely.

We use custom tags that do iteration (they implement IterationTag)
but do not modify their content so they do not implement BodyTag.

The latest versions of Jasper2 generates code which only synchronizes
script variables before the first iteration of the tag. (ie before the do {}
while() loop).

There is also another bug whereby if a BodyTag returns EVAL_BODY_INCLUDE,
the script variables will not be synchronized at ALL for the first

The problem is in The generated code
for a tag that implements IterationTag synchronizes variables before the tag
loop but not inside it (even for NESTED scoped variables). 

Also for BodyTags that return EVAL_BODY_INCLUDE, the synchronization 
for the first iteration is skipped completely because it gets placed
in the same block of code that sets up the BodyContent buffer and that gets

I have submitted some patches that move the variable synchronization into
the body of the loop for IterationTags and BodyTags. I think this should fix
problem but I haven't got round to setting up a build environment yet.
Doing that now.

If someone could take a look at this it would be much appreciated.

> -----Original Message-----
> From: Remy Maucherat []
> Sent: Sunday, August 11, 2002 1:21 AM
> To: Tomcat Developers List; Tomcat Users List
> Subject: [4.1.9] New test milestone released
> A new test milestone of Tomcat 4.1 has just been released.
> Downloads:
> Significant changes over 4.1.8 Beta include:
> - Jasper 2 bugfixes
> - Catalina classloader bugfixes
> - Coyote HTTP/1.1 fixes
> - Updated commons-dbcp connection pool
> The list of changes is available in the release notes.
> Remy
> --
> To unsubscribe, e-mail:   
> <>
> For additional commands, e-mail: 
> <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message