Re: Strange difference in behavior ELSupport in Tomcat 6.0.20 and Tomcat 6.0.26

2010-09-26 Thread sbrejeon
markt-2 wrote: > > On 27/09/2010 02:23, sbrejeon wrote: >> A.test==B.test throws the exception. couldn't it just return false? > > Such a change would put Tomcat's EL implementation in breach of the EL > spec so this behaviour will not be changed. > > Ma

Re: Strange difference in behavior ELSupport in Tomcat 6.0.20 and Tomcat 6.0.26

2010-09-26 Thread sbrejeon
(!(obj instanceof String)) { 185 throw new ELException(MessageFactory.get("error.convert", 186 obj, obj.getClass(), type)); 187 } enum A{ test } enum B{ test } A.test==B.test throws the exception. couldn't it just return false? Regards Sbrejeon -- View this me