FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 2.0.2
Threshold is medium
Effort is min
Summary
Classes | Bugs | Errors | Missing Classes |
---|
27 | 11 | 0 | 0 |
org.jomc.cli.Jomc
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in org.jomc.cli.Jomc.getPrintWriter(): new java.io.PrintWriter(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 111 | High |
org.jomc.cli.commands.AbstractModletCommand
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in org.jomc.cli.commands.AbstractModletCommand.getDocumentFiles(CommandLine): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 375 | High |
org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in new org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader(AbstractModletCommand, CommandLine): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 514 | High |
org.jomc.cli.commands.CommitClassesCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.CommitClassesCommand.processClassFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 104 | Medium |
org.jomc.cli.commands.GenerateResourcesCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.GenerateResourcesCommand.processResourceFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 100 | Medium |
org.jomc.cli.commands.ManageSourcesCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.ManageSourcesCommand.processSourceFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 100 | Medium |
org.jomc.cli.commands.MergeModletsCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.MergeModletsCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 108 | Medium |
org.jomc.cli.commands.MergeModulesCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.MergeModulesCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 107 | Medium |
org.jomc.cli.commands.ShowModelCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.ShowModelCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 103 | Medium |
org.jomc.cli.commands.ValidateClassesCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.ValidateClassesCommand.processClassFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 99 | Medium |
org.jomc.cli.commands.ValidateModelCommand
Bug | Category | Details | Line | Priority |
---|
org.jomc.cli.commands.ValidateModelCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 89 | Medium |