tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50192] performance issue after revision 746425
Date Thu, 11 Nov 2010 15:45:06 GMT

Robert Goff <> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

--- Comment #3 from Robert Goff <> 2010-11-11 10:45:02 EST ---
The NullFunctionMapper in ELContextImpl is a final object.  Therefore, it can
not be overridden and the only method that it has is resolveFunction which will
return null.  There is nothing about this object that could present a security

As far as the ELResolverImpl is concerned, I can see how the static ELResolver
could be accessed and it is possible that it would be altered by a malicious
user.  However, I think that there could still be a performance gain here by
not having each method withing the ELResolverImpl call getDefaultResolver(). 
Instead, you could create one defaultResolver for this particular instance (in
the constructor) allowing all the methods for this instance to use that object,
and you could still provide the static getDefaultResolver() method to return a
new object each time.  This would at least save a few new constructions of the
ELResolver when you're reusing the same ELResolverImpl object.

Please look at the patch to see the recommended change.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message