changes.html
来自「JSP页面代码排错」· HTML 代码 · 共 1,335 行 · 第 1/5 页
HTML
1,335 行
<html> <head> <title>FindBugs Change Log</title> <link rel="stylesheet" type="text/css" href="findbugs.css"> </head> <body> <table width="100%"> <tr> <td bgcolor="#b9b9fe" valign="top" align="left" width="20%"> <table width="100%" cellspacing="0" border="0"> <tr><td><a class="sidebar" href="index.html"><img src="umdFindbugs.png" alt="FindBugs"></a></td></tr> <tr><td> </td></tr><tr><td><b>Docs and Info</b></td></tr> <tr><td><font size="-1"><a class="sidebar" href="demo.html">Demo and data</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="users.html">Users and supporters</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="http://findbugs.blogspot.com/">FindBugs blog</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="factSheet.html">Fact sheet</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="manual/index.html">Manual</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="ja/manual/index.html">Manual(ja/日本語)</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="FAQ.html">FAQ</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="bugDescriptions.html">Bug descriptions</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="mailingLists.html">Mailing lists</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="publications.html">Documents and Publications</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="links.html">Links</a></font></td></tr> <tr><td> </td></tr><tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr> <tr><td> </td></tr><tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs Swag</b></a></td></tr><tr><td> </td></tr><tr><td><b>Development</b></td></tr> <tr><td><font size="-1"><a class="sidebar" href="http://sourceforge.net/tracker/?group_id=96405">Open bugs</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="reportingBugs.html">Reporting bugs</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="contributing.html">Contributing</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="team.html">Dev team</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="api/index.html">API</a> <a class="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="Changes.html">Change log</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="http://sourceforge.net/projects/findbugs">SF project page</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="http://code.google.com/p/findbugs/source/browse/">Browse source</a></font></td></tr> <tr><td><font size="-1"><a class="sidebar" href="http://code.google.com/p/findbugs/source/list">Latest code changes</a></font></td></tr> </table> </td> <td align="left" valign="top"> <h1> FindBugs Change Log, Version 1.3.8 </h1> <p> Changes since version 1.3.7</p> <ul> <li>Primarily another small bugfix release.</li> <li>FindBugs base:</li> <ul> <li>New Reports:</li> <ul> <li>SF_SWITCH_NO_DEFAULT: missing default case in switch statement.</li> <li>SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH_TO_THROW: value ignored when switch fallthrough leads to thrown exception.</li> <li>INT_VACUOUS_BIT_OPERATION: bit operations that don't do any meaningful work.</li> <li>FB_UNEXPECTED_WARNING: warning generated that conflicts with @NoWarning FindBugs annotation.</li> <li>FB_MISSING_EXPECTED_WARNING: warning not generated despite presence of @ExpectedWarning FindBugs annotation.</li> <li>NOISE category: intended for use in data mining experiments.</li> <ul> <li>NOISE_NULL_DEREFERENCE: fake null point dereference warning.</li> <li>NOISE_METHOD_CALL: fake method call warning.</li> <li>NOISE_FIELD_REFERENCE: fake field dereference warning.</li> <li>NOISE_OPERATION: fake operation warning.</li> </ul> </ul> <li>Other:</li> <ul> <li>Garvin Leclaire has created a new Apache Maven repository for FindBugs at <a href="http://code.google.com/p/findbugs/">the Google Code FindBugs SVN repository</a>. (Thanks Garvin!)</li> </ul> <li>Fixes:</li> <ul> <li>[ 2317842 ] Highlighting broken in Windows</li> <li>[ 2515908 ] check for oddness should track sign of argument</li> <li>[ 2487936 ] "L B GC" false pos cast from Map.Entry.getKey() to Map.get()</li> <li>[ 2528264 ] Ant tasks not compatible with Ant 1.7.1</li> <li>[ 2539590 ] SF_SWITCH_FALLTHROUGH wrong message reported </li> <li>[ 2020066 ] Bug history displayed in fancy-hist.xsl is incorrect</li> <li>[ 2545098 ] Invalid character in analysis results file</li> <li>[ 2492673 ] Plugin sites should specify 'requires Eclipse 3.3 or newer'</li> <li>[ 2588044 ] a tiny typing error</li> <li>[ 2589048 ] Documentation for convertXmlToText insufficient</li> <li>[ 2638739 ] NullPointerException when building</li> </ul> <li>Patches:</li> <ul> <li>[ 2538184 ] Make BugCollection implement Iterable<BugInstance> (thanks to Tomas Pollak)</li> <li>[ 2249771 ] Add Maven2 Findbugs plugin link to the Links page (thanks to Garvin Leclaire)</li> <li>[ 2609526 ] Japanese manual update (thanks to K. Hashimoto)</li> <li>[ 2119482 ] CheckBcel checks for nonexistent classes (thanks to Jerry James)</li> </ul> </ul> <li>FindBugs Eclipse plugin:</li> <ul> <li>Major feature enhancements (thanks to Andrei Loskutov). See <a href="http://andrei.gmxhome.de/findbugs/index.html">this overview</a> for more information.</li> <li>Major test improvements (thanks to Tomas Pollak).</li> <li>Fixes:</li> <ul> <li>[ 2532365 ] Compiler warning</li> <li>[ 2522989 ] Fix filter files selection</li> <li>[ 2504068 ] NullPointerException</li> <li>[ 2640849 ] NPE in Eclipse plugin 1.3.7 and Eclipse 3.5 M5</li> </ul> <li>Patches:</li> <ul> <li>[ 2143140 ] Unchecked conversion fixes for Eclipse plugin (thanks to Jerry James) </ul> </ul> </ul> </ul> <p> Changes since version 1.3.6</p> <ul> <li>Overall, a small bugfix release. <li>New detection of accidental vacuous/useless calls to EasyMock methods, and of generic signatures that proclaim the use of unhashable classes in ways that require that they be hashed. <li>Eliminate some false positives where we were warning about a useless call (e.g., comparing two incompatible types for equality), but the only thing the code was doing with the result was passing it to assertFalse. <li>Japanese localization and manual by K.Hashimoto. (Thanks!) <li>Added -exclude and -outputDir command line options to rejarForAnalysis <li>Extended -adjustPriorities option to FindBugs analysis textui so that you can modify the priorities of individual bug patterns as well as visitors, and also completely suppress individual bug patterns or visitors. <ul> <li> e.g., -adjustPriority MS_SHOULD_BE_FINAL=suppress,MS_PKGPROTECT=suppress,EI_EXPOSE_REP=suppress,EI_EXPOSE_REP2=suppress,PZLA_PREFER_ZERO_LENGTH_ARRAYS=raise </ul> </ul> <p> Changes since version 1.3.5</p> <ul> <li>Added fairly exhaustive static analysis of uses of format strings, checking for missing or extra arguements, invalid format specifiers, or mismatched format specifiers and arguments (e.g, passing a String value for a %d format specifier). The logic for doing so is derived from Sun's java.util.Formatter class, and available separately from FindBugs as part of the <a href="https://jformatstring.dev.java.net/">jFormatString</a> project. <li>More tuning of the unsatisfied obligation detector. Since this detector is still rather noisy and an unfinished research project, I've moved the generated issues to a new category: EXPERIMENTAL. <li>Added check for <a href="http://findbugs.sourceforge.net/bugDescriptions.html#BIT_ADD_OF_SIGNED_BYTE">BIT_ADD_OF_SIGNED_BYTE</a>; similar to <a href="http://findbugs.sourceforge.net/bugDescriptions.html#BIT_IOR_OF_SIGNED_BYTE">BIT_IOR_OF_SIGNED_BYTE</a>, except that addition is being used to combine shifted signed bytes. <li>Changed detection of EI_EXPOSE_REP2, so we only report it if the value stored is guaranteed to be the same value that was passed in as a parameter. <li>Added <a href="http://findbugs.sourceforge.net/bugDescriptions.html#EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS">EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS</a>, a warning when an equals method checks to see if an operand is an instance of a class not compatible with itself. For example, if the Foo class checks to see if the argument is an instance of String. This is either a questionable design decision or a coding mistake. <li>Added <a href="http://findbugs.sourceforge.net/bugDescriptions.html#DMI_INVOKING_HASHCODE_ON_ARRAY">DMI_INVOKING_HASHCODE_ON_ARRAY</a>, which checks for invoking <code>hashCode()</code> on an array, which returns a hash code that ignores the contents of the array. <li>Added checks for using <code>x.removeAll(x)</code> to rather than <code>x.clear()</code> to clear an array. <li>Add checks for calls such as <code>x.contains(x)</code>, <code>x.remove(x)</code> and <code>x.containsAll(x)</code>. <li>Improvements to Eclipse plugin (thanks to Andrei Loskutov): <ul> <li>Report separate markers for each occurrence of an issue that appears multiple times in a method <li> fine tuning for reported markers: add only one marker for fields, add marker on right position <li> link bugs selected in bug explorer view to the opened editor and vice versa <li> select bugs selected in editor ruler in the opened bug explorer view <li> consistent abbreviations used in both bug explorer and bug details view <li> added "Expand All" button to the bug explorer view <li> added "Go Into/Go Up" buttons to the bug explorer view <li> added "Copy to clipboard" menu/functionality to the details view list widget <li> fix for CNF exception if loading the backup solution for broken browser widget </ul></ul> <p> Changes since version 1.3.4</p> <ul> <li>Analysis about 15% faster <li><a href="http://sourceforge.net/tracker/?atid=614693&group_id=96405&func=browse&status=closed">38 bugs closed</a></li> <li>New defect warnings: <ul> <li>calls to methods that always throw UnsupportedOperationException (DMI_UNSUPPORTED_METHOD) <li>repeated conditional tests (e.g., <code>if (x < 0 || x < 0) ...</code>) (RpC_REPEATED_CONDITIONAL_TEST) <li>Complete rewrite of detector for format string problems. More accurate, finds more problems, generates more descriptive reports, several different bug pattern (VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED, VA_FORMAT_STRING_ILLEGAL, VA_FORMAT_STRING_MISSING_ARGUMENT, VA_FORMAT_STRING_BAD_ARGUMENT, VA_FORMAT_STRING_NO_PREVIOUS_ARGUMENT) <li>Fairly complete implementation of JSR-305 custom type qualifier analysis (no support for custom validators yet). (TQ_MAYBE_SOURCE_VALUE_REACHES_NEVER_SINK TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_NEVER_SINK) <li>New detector for unsatisfied obligations such forgetting to close a file (OBL_UNSATISFIED_OBLIGATION). <li>Warning when a parameter is marked as nullable, but is always dereferenced. (NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE) <lI>Separate warning for dereference the result of readLine (NP_DEREFERENCE_OF_READLINE_VALUE) </ul> <li>When XML is generated with messages, the project stats now include <FileStat> elements. For each source file, this gives the path for the file, the total number of warnings for that file, and a bugHash for the file. While the instanceHash for a bug is intended to be version invariant (ignoring line numbers, etc), the bugHash for a file is intended to reflect all the information about the warnings in that file. The intended use case is that if the bugHash for a file is the same in two analysis runs, then <em>nothing</em> has changed about any of the warnings reported for that file between the two analysis runs. <li>More merging of similar issues within a method. For example, if the result of readLine() is dereferences multiple times within a method, it will be reported as a single warning with occurrences at multiple source lines. </ul> <p> Changes since version 1.3.3</p> <ul> <li>FindBugs base <ul> <li>New Reports:</li> <ul> <li>EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC: equals method overrides equals in superclass and may not be symmetric</li> <li>EQ_ALWAYS_TRUE: equals method always returns true</li> <li>EQ_ALWAYS_FALSE: equals method always returns false</li> <li>EQ_COMPARING_CLASS_NAMES: equals method compares class names rather than class objects</li> <li>EQ_UNUSUAL: Unusual equals method</li> <li>EQ_GETCLASS_AND_CLASS_CONSTANT: equals method fails for subtypes</li> <li>SE_READ_RESOLVE_IS_STATIC: The readResolve method must not be declared as a static method.</li> <li>SE_PRIVATE_READ_RESOLVE_NOT_INHERITED:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?