tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kin-Man Chung <Kin-Man.Ch...@Eng.Sun.COM>
Subject Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Generator.java
Date Mon, 02 Feb 2004 19:40:48 GMT

> Date: Mon, 02 Feb 2004 20:17:29 +0100
> From: Remy Maucherat <remm@apache.org>
> Subject: Re: cvs commit: 
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler 
Generator.java
> To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> 
> Kin-Man Chung wrote:
> > Agreed that the spec can be clearer.  :-)
> > 
> > This has been discussed by the Spec expert group, and bullet .2 was added
> > because some vendors wanted it.  I'll check with the spec lead for a
> > clarification.
> 
> Ok.
> 
> > Also agreed that this breaks backward compatibility; but it not really too
> > bad.  I think a lot of users would rather have the error at compilation
> > time than at runtime.  What can you do with an instantiation error at
> > runtime?
> 
> Nothing, but some don't care: they never intended their page to be 
> called without the right attribute in the right scope, so the case where 
> their "JavaBean" is instantiated never happens.

Then EL should be used in this case.

> 
> > If we are really concern about BC, then we can add another compilation
> > option to revert to old behavior.  I really don't like another switch, but
> > if it'll make people happy...
> 
> No new switch, please ;) So we have to decide one or the other.
> So do you want me to revert the patch ?
> 

I'd rather you check with me first before the patch, but since it is
already done, let's wait for the spec clarification before we do anything.
A revert on a revert would make us look really silly.  :-)

-Kin-man

> Rémy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message