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

--- Comment #4 from Mark Thomas <ma...@apache.org> 2010-06-14 17:48:05 EDT ---
(In reply to comment #3)
> OK, you're right. What about holding the ResourceBundle in a ThreadLocal?

Given all the issues we have seen with memory leaks and ThreadLocals I'd rather
not.

Some additional thoughts:
- we could just pass the Locale around with the writer
- I wonder how hard it would be to extend StringManager (efficiently - which
may be the slightly tricky bit) to support multiple Locales
- in determining which Locale to use we need to call request.getLocales() and
check each in turn until we find a suitable match.

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to