FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.1.1

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
168817

Files

ClassBugs
org.apache.commons.jci.ReloadingClassLoader4
org.apache.commons.jci.listeners.ReloadingListener1
org.apache.commons.jci.readers.FileResourceReader1
org.apache.commons.jci.stores.FileResourceStore2

org.apache.commons.jci.ReloadingClassLoader

BugCategoryDetailsLine
org.apache.commons.jci.ReloadingClassLoader.ReloadingClassLoader(ClassLoader) creates a org.apache.commons.jci.stores.ResourceStoreClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED49
org.apache.commons.jci.ReloadingClassLoader.addResourceStore(org.apache.commons.jci.stores.ResourceStore) creates a org.apache.commons.jci.stores.ResourceStoreClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED59
org.apache.commons.jci.ReloadingClassLoader.handleNotification() creates a org.apache.commons.jci.stores.ResourceStoreClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED99
org.apache.commons.jci.ReloadingClassLoader.removeResourceStore(org.apache.commons.jci.stores.ResourceStore) creates a org.apache.commons.jci.stores.ResourceStoreClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED93

org.apache.commons.jci.listeners.ReloadingListener

BugCategoryDetailsLine
Method org.apache.commons.jci.listeners.ReloadingListener.isReloadRequired(org.apache.commons.jci.monitor.FilesystemAlterationObserver) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION98

org.apache.commons.jci.readers.FileResourceReader

BugCategoryDetailsLine
Should org.apache.commons.jci.readers.FileResourceReader.getBytes(String) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS47

org.apache.commons.jci.stores.FileResourceStore

BugCategoryDetailsLine
Method org.apache.commons.jci.stores.FileResourceStore.write(String,byte[]) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION70
Method org.apache.commons.jci.stores.FileResourceStore.read(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION51