https://issues.apache.org/bugzilla/show_bug.cgi?id=51717

             Bug #: 51717
           Summary: Provide a way to disable EL cache
           Product: Tomcat 7
           Version: 7.0.19
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


When developing with tcServer in SpringSource STS I occasionally use the
"Enable Java Agent-based reloading" feature which enables in place class
reloading of changes such as method signatures, etc.

When using this feature I'm running into an issue where it appears
tcServer/Tomcat is caching the reflection results when using EL
(javax.el.BeanELResolver.ConcurrentCache<K, V>).  This is forcing me to restart
my server even though STS agent reloading successfully reloaded the class.  It
would be nice if Tomcat supported the ability to turn off the EL Reflection
cache.  I noticed the org.apache.el.BeanELResolver.CACHE_SIZE but setting this
value to 0 still caches results in a WeakHashMap.

It would be nice if it were possible to completely disable this cache perhaps
by setting org.apache.el.BeanELResolver.CACHE_SIZE=-1?

Mike

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to