Introduced for https://bz.apache.org/bugzilla/show_bug.cgi?id=55611 Feels like it this caching is useful, it should be done using a static ConcurrentHashMap as opposed to thread locals