FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
5 9 0 0

org.codehaus.plexus.compiler.javac.JavacCompiler

Bug Category Details Line Priority
Found reliance on default encoding in org.codehaus.plexus.compiler.javac.JavacCompiler.createFileWithArguments(String[], String): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 903 High
org.codehaus.plexus.compiler.javac.JavacCompiler.createJavacClass() creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 1072 Medium
Load of known null value in org.codehaus.plexus.compiler.javac.JavacCompiler.getJavacClass(CompilerConfiguration) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1029 Medium
Redundant nullcheck of context, which is known to be non-null in org.codehaus.plexus.compiler.javac.JavacCompiler.parseModernError(int, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 843 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.codehaus.plexus.compiler.javac.JavacCompiler.buildCompilerArguments(CompilerConfiguration, String[]) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 258 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(CompilerConfiguration) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 128 Medium

org.codehaus.plexus.compiler.javac.JavaxToolsCompiler

Bug Category Details Line Priority
Synchronization performed on java.util.concurrent.CopyOnWriteArrayList in org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.getJavaCompiler(CompilerConfiguration) MT_CORRECTNESS JLM_JSR166_UTILCONCURRENT_MONITORENTER 62 High
Load of known null value in org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(String[], CompilerConfiguration, String[]) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 177 Medium
Suspicious comparison of Boolean references in org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(String[], CompilerConfiguration, String[]) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 163 Medium