FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
271100

org.jomc.cli.Jomc

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.jomc.cli.Jomc.getPrintWriter(): new java.io.PrintWriter(OutputStream, boolean)I18NDM_DEFAULT_ENCODING111High

org.jomc.cli.commands.AbstractModletCommand

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.jomc.cli.commands.AbstractModletCommand.getDocumentFiles(CommandLine): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING375High

org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader

BugCategoryDetailsLinePriority
Found reliance on default encoding in new org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader(AbstractModletCommand, CommandLine): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING514High

org.jomc.cli.commands.CommitClassesCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.CommitClassesCommand.processClassFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED104Medium

org.jomc.cli.commands.GenerateResourcesCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.GenerateResourcesCommand.processResourceFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED100Medium

org.jomc.cli.commands.ManageSourcesCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.ManageSourcesCommand.processSourceFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED100Medium

org.jomc.cli.commands.MergeModletsCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.MergeModletsCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED108Medium

org.jomc.cli.commands.MergeModulesCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.MergeModulesCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED107Medium

org.jomc.cli.commands.ShowModelCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.ShowModelCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED103Medium

org.jomc.cli.commands.ValidateClassesCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.ValidateClassesCommand.processClassFiles(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED99Medium

org.jomc.cli.commands.ValidateModelCommand

BugCategoryDetailsLinePriority
org.jomc.cli.commands.ValidateModelCommand.executeCommand(CommandLine) creates a org.jomc.cli.commands.AbstractModletCommand$CommandLineClassLoader classloader, which should be performed within a doPrivileged blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED89Medium