public class ResourceBundleCacheInspector extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
This method performs some nasty checks against internal private static cache
public Collection<CachedPluginBundle> inspect()
ResourceBundle.cacheList. The goal of this check is to find if any plugin resources are still being cached internally by
ResourceBundle. All plugin bundles should be removed from
ResourceBundle.cacheListto avoid duplication of bundles keys. Since
ResourceBundle.cacheListis private static cache we are doing some reflections magic to get into it.
Copyright © 2002-2015 Atlassian. All Rights Reserved.