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

--- Comment #2 from so...@his.de ---
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to