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
140618

Files

ClassBugs
org.apache.commons.jci.compilers.JavacClassLoader$11
org.apache.commons.jci.compilers.JavacJavaCompiler2
org.apache.commons.jci.compilers.JavacJavaCompilerSettings3

org.apache.commons.jci.compilers.JavacClassLoader$1

BugCategoryDetailsLine
The class org.apache.commons.jci.compilers.JavacClassLoader$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.commons.jci.compilers.JavacJavaCompiler

BugCategoryDetailsLine
org.apache.commons.jci.compilers.JavacJavaCompiler.compile(String[],org.apache.commons.jci.readers.ResourceReader,org.apache.commons.jci.stores.ResourceStore,ClassLoader,JavaCompilerSettings) creates a org.apache.commons.jci.compilers.JavacClassLoader classloader, which should be performed within a doPrivileged blockBAD_PRACTICEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED66
Method org.apache.commons.jci.compilers.JavacJavaCompiler.compile(String[],org.apache.commons.jci.readers.ResourceReader,org.apache.commons.jci.stores.ResourceStore,ClassLoader,JavaCompilerSettings) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION88

org.apache.commons.jci.compilers.JavacJavaCompilerSettings

BugCategoryDetailsLine
org.apache.commons.jci.compilers.JavacJavaCompilerSettings.getCustomArguments() may expose internal representation by returning org.apache.commons.jci.compilers.JavacJavaCompilerSettings.customArgumentsMALICIOUS_CODEEI_EXPOSE_REP43
org.apache.commons.jci.compilers.JavacJavaCompilerSettings.setCustomArguments(String[]) may expose internal representation by storing an externally mutable object into org.apache.commons.jci.compilers.JavacJavaCompilerSettings.customArgumentsMALICIOUS_CODEEI_EXPOSE_REP239
Field not initialized in constructor: org.apache.commons.jci.compilers.JavacJavaCompilerSettings.customArgumentsSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available