You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Currently the versioning policy of this project follows [Semantic Versioning v2.
27
27
- Recognize some classes as immutable, fixing EI_EXPOSE and MS_EXPOSE FPs ([#3137](https://github.com/spotbugs/spotbugs/pull/3137))
28
28
29
29
### Cleanup
30
-
-Cleaup thread issue and regex issue in test-harness ([#3130](https://github.com/spotbugs/spotbugs/issues/3130))
30
+
-Cleanup thread issue and regex issue in test-harness ([#3130](https://github.com/spotbugs/spotbugs/issues/3130))
31
31
- Remove extra blank lines and remove public from interface objects as inherently already public ([#3131](https://github.com/spotbugs/spotbugs/issues/3131))
32
32
- Fix order of modifiers on properties/methods and ensure correct location in file ([#3132](https://github.com/spotbugs/spotbugs/issues/3132))
33
33
- Return objects directly instead of creating more garbage collection by defining them ([#3133](https://github.com/spotbugs/spotbugs/issues/3133))
@@ -37,6 +37,9 @@ Currently the versioning policy of this project follows [Semantic Versioning v2.
37
37
- New detector `ResourceInMultipleThreadsDetector` and introduced new bug type:
38
38
-`AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD` is reported in case of unsafe resource access in multiple threads.
39
39
40
+
### Changed
41
+
- Bump up Java version to 11
42
+
40
43
## 4.8.6 - 2024-06-17
41
44
### Fixed
42
45
- Do not report BC_UNCONFIRMED_CAST for Java 21's type switches when the switch instruction is TABLESWITCH ([#2782](https://github.com/spotbugs/spotbugs/issues/2782))
@@ -600,7 +603,7 @@ This version contains no change, except for the solution for [a deployment probl
600
603
* Replace to try-with-resources
601
604
* Reset DataAnalysis.DEBUG back when analysis reaches MAX_ITER
602
605
* Remove unused methods in `BCELUtil`
603
-
* Remove unused methods and deperecated methods in `edu.umd.cs.findbugs.util.Util`
606
+
* Remove unused methods and deprecated methods in `edu.umd.cs.findbugs.util.Util`
604
607
* Change to removeIf from Iterator and Iterator.remove
605
608
* Use Map.computeIfAbsent instead of Map.get and Map.put
606
609
* Use for-each instead of for-loop and while-loop
@@ -665,7 +668,7 @@ This version contains no change, except for the solution for [a deployment probl
665
668
* edu.umd.cs.findbugs.util.ClassName#assertIsSlashed return type is changed to void
666
669
667
670
### Deprecated
668
-
* edu.umd.cs.findbugs.classfile.ClassDescriptor#toDottedClassName() is depricated and getDottedClassName() can be used instead.
671
+
* edu.umd.cs.findbugs.classfile.ClassDescriptor#toDottedClassName() is deprecated and getDottedClassName() can be used instead.
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ More information at the [official website](https://spotbugs.github.io/). A lot o
17
17
18
18
SpotBugs is built using [Gradle](https://gradle.org). The recommended way to obtain it is to simply run the `gradlew` (or `gradlew.bat`) wrapper, which will automatically download and run the correct version as needed (using the settings in `gradle/wrapper/gradle-wrapper.properties`).
19
19
20
-
Building SpotBugs requires JDK 21 to run all the tests (using SpotBugs requires JDK 8 or above).
20
+
Building SpotBugs requires JDK 21 to run all the tests (using SpotBugs requires JDK 11 or above, but it can analyze code compiled with older versions).
21
21
22
22
To see a list of build options, run `gradle tasks` (or `gradlew tasks`). The `build` task will perform a full build and test.
0 commit comments