https://bz.apache.org/bugzilla/show_bug.cgi?id=69605

--- Comment #2 from [email protected] ---
Thank you for your fast response :)

I know that this is not a support forum, but I am unsure what parts of tomcat
are considered stable API or what parts are not.  

Would the following code use the stable API of tomcat?

ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
Class<?> webappClassLoaderBaseClass = classLoader.getClass().getSuperclass();
Method getNotFoundClassResourceCacheSizeMethod =
webappClassLoaderBaseClass.getDeclaredMethod("getNotFoundClassResourceCacheSize");
Integer cacheSize = (Integer)
getNotFoundClassResourceCacheSizeMethod.invoke(classLoader);

-- 
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