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 |
35 |
6 |
0 |
0 |
org.jomc.ant.JomcTask
Bug |
Category |
Details |
Line |
Priority |
org.jomc.ant.JomcTask.newProjectClassLoader() creates a org.jomc.ant.ProjectClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
1283 |
Medium |
Usage of GetResource in org.jomc.ant.JomcTask.getResource(String) may be unsafe if class is extended |
BAD_PRACTICE |
UI_INHERITANCE_UNSAFE_GETRESOURCE |
771 |
Medium |
org.jomc.ant.MergeModletsTask
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.jomc.ant.MergeModletsTask.getModletEncoding(): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
172 |
High |
org.jomc.ant.MergeModulesTask
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.jomc.ant.MergeModulesTask.getModuleEncoding(): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
165 |
High |
org.jomc.ant.WriteModelTask
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.jomc.ant.WriteModelTask.getModelEncoding(): new java.io.OutputStreamWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
131 |
High |
Useless condition: it's known that suppressExceptionOnClose == true at this point |
STYLE |
UC_USELESS_CONDITION |
605 |
High |