Community
Participate
Working Groups
Recently we upgraded the Bcel classloaderrepository to allow caching (by URL) of the classes that get loaded. The cached entries could even be shared by multiple weavers in the same VM. Unfortunately the SAP netweaver configuration of classloaders doesn't like this and so we need to be able to revert to the poorly performing old strategy on this appserver.
Although the cache itself is fully configurable (can already be switched off) - it is not the activity of 'caching' that is the problem here, it is in the use of a URL to identify the class. getResource() appears to be causing us problems in this environment.
fix is in. now configurable - can be switched OFF in certain environments -Xset:bcelRepositoryCaching=false test in for the option, but can't actually 'test' the problem since creating a similar classloader hierarchy mess is too tricky.