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
Classes | Bugs | Errors | Missing Classes |
---|
63 | 27 | 0 | 0 |
jline.WindowsTerminal
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in jline.WindowsTerminal.readConsoleInput(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 292 | High |
jline.console.ConsoleKeys
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in jline.console.ConsoleKeys.loadKeys(InputStream, String): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 97 | High |
jline.console.ConsoleReader
jline.console.completer.AggregateCompleter$Completion
Bug | Category | Details | Line | Priority |
---|
Should jline.console.completer.AggregateCompleter$Completion be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 114-122 | Medium |
jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter
Bug | Category | Details | Line | Priority |
---|
jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter.getEscapeChars() may expose internal representation by returning ArgumentCompleter$AbstractArgumentDelimiter.escapeChars | MALICIOUS_CODE | EI_EXPOSE_REP | 236 | Medium |
jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter.getQuoteChars() may expose internal representation by returning ArgumentCompleter$AbstractArgumentDelimiter.quoteChars | MALICIOUS_CODE | EI_EXPOSE_REP | 228 | Medium |
jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter.setEscapeChars(char[]) may expose internal representation by storing an externally mutable object into ArgumentCompleter$AbstractArgumentDelimiter.escapeChars | MALICIOUS_CODE | EI_EXPOSE_REP2 | 232 | Medium |
jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter.setQuoteChars(char[]) may expose internal representation by storing an externally mutable object into ArgumentCompleter$AbstractArgumentDelimiter.quoteChars | MALICIOUS_CODE | EI_EXPOSE_REP2 | 224 | Medium |
Possible null pointer dereference of buffer in jline.console.completer.ArgumentCompleter$AbstractArgumentDelimiter.delimit(CharSequence, int) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 283 | Medium |
jline.console.completer.ArgumentCompleter$ArgumentList
Bug | Category | Details | Line | Priority |
---|
jline.console.completer.ArgumentCompleter$ArgumentList.getArguments() may expose internal representation by returning ArgumentCompleter$ArgumentList.arguments | MALICIOUS_CODE | EI_EXPOSE_REP | 450 | Medium |
jline.console.completer.ArgumentCompleter$ArgumentList.setArguments(String[]) may expose internal representation by storing an externally mutable object into ArgumentCompleter$ArgumentList.arguments | MALICIOUS_CODE | EI_EXPOSE_REP2 | 446 | Medium |
jline.console.history.FileHistory
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in jline.console.history.FileHistory.flush(): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 87 | High |
Found reliance on default encoding in jline.console.history.FileHistory.load(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 55 | High |
Found reliance on default encoding in jline.console.history.FileHistory.load(InputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 61 | High |
jline.console.history.FileHistory.load(File) may fail to clean up java.io.Reader | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 55 | Medium |
jline.console.internal.ConsoleReaderInputStream$ConsoleEnumeration
Bug | Category | Details | Line | Priority |
---|
Redundant nullcheck of jline.console.internal.ConsoleReaderInputStream$ConsoleEnumeration.next, which is known to be non-null in jline.console.internal.ConsoleReaderInputStream$ConsoleEnumeration.hasMoreElements() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 84 | Medium |
jline.internal.Configuration
Bug | Category | Details | Line | Priority |
---|
jline.internal.Configuration.loadProperties(URL, Properties) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 62 | Medium |
jline.internal.NonBlockingInputStream
Bug | Category | Details | Line | Priority |
---|
Inconsistent synchronization of jline.internal.NonBlockingInputStream.isShutdown; locked 57% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 117 | Medium |
jline.internal.TerminalLineSettings
Bug | Category | Details | Line | Priority |
---|
Found reliance on default encoding in jline.internal.TerminalLineSettings.exec(String[]): java.io.ByteArrayOutputStream.toString() | I18N | DM_DEFAULT_ENCODING | 218 | High |