Skip to content

Commit 419dd68

Browse files
authored
Merge branch 'master' into feature/VNA03-J-combine-atomic-operations-detector
2 parents c465070 + b686b86 commit 419dd68

File tree

496 files changed

+5879
-1763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

496 files changed

+5879
-1763
lines changed

.github/CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Contributing guideline
22

3-
Before you submit issue or pull request, please check the following points.
3+
Before you submit an issue or pull request, please check the following points.
44

55
* Search existing issues and pull requests to see if the issue was already discussed.
66
* Check our discussions to see if the issue was already discussed.
7-
* Check for specific project we support to raise issue on, under [spotbugs](https://github.com/spotbugs)
7+
* Check for specific project we support to raise the issue on, under [spotbugs](https://github.com/spotbugs)
88
* Do not open intellij plugin issues here, open them at [intellij-plugin](https://github.com/JetBrains/spotbugs-intellij-plugin)
99

1010
## Before reporting a problem with detectors

.github/ISSUE_TEMPLATE/bug_report.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Before opening 'bug'
1+
Before opening a 'bug'
22

33
* Search existing issues and pull requests to see if the issue was already discussed.
44
* Check our discussions to see if the issue was already discussed.
5-
* Check for specific project we support to raise issue on, under [spotbugs](https://github.com/spotbugs)
5+
* Check for specific project we support to raise the issue on, under [spotbugs](https://github.com/spotbugs)
66
* Do not open intellij plugin issues here, open them at [intellij-plugin](https://github.com/JetBrains/spotbugs-intellij-plugin)
77

88
---

.github/ISSUE_TEMPLATE/feature_request.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Before opening 'pull request'
1+
Before opening a 'pull request'
22

33
* Search existing issues and pull requests to see if the issue was already discussed.
44
* Check our discussions to see if the issue was already discussed.
5-
* Check for specific project we support to raise issue on, under [spotbugs](https://github.com/spotbugs)
5+
* Check for specific project we support to raise the issue on, under [spotbugs](https://github.com/spotbugs)
66
* Do not open intellij plugin issues here, open them at [intellij-plugin](https://github.com/JetBrains/spotbugs-intellij-plugin)
77

88
---

.github/PULL_REQUEST_TEMPLATE.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ Before opening a 'pull request'
33
* Search existing issues and pull requests to see if the issue was already discussed.
44
* Check our discussions to see if the issue was already discussed.
55
* Check for specific project we support to raise the issue on, under [spotbugs](https://github.com/spotbugs)
6-
* Do not open intellij plugin issues here, open them at [intellij-plugin](https://github.com/JetBrains/spotbugs-intellij-plugin) *
6+
* Do not open intellij plugin issues here, open them at [intellij-plugin](https://github.com/JetBrains/spotbugs-intellij-plugin)
7+
8+
----
9+
10+
Make sure these boxes are checked before submitting your PR -- thank you!
11+
12+
- [ ] Added an entry into `CHANGELOG.md` if you have changed SpotBugs code

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-latest]
11+
os: [ubuntu-latest, windows-latest, macos-13]
1212
java: [11, 17, 21, 23]
1313
max-parallel: 6
1414
runs-on: ${{ matrix.os }}

CHANGELOG.md

+49-12
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,37 @@ This is the changelog for SpotBugs. This follows [Keep a Changelog v1.0.0](http:
55

66
Currently the versioning policy of this project follows [Semantic Versioning v2.0.0](http://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased - 2024-??-??
8+
## Unreleased - 2025-??-??
9+
### Added
10+
- New detector `SharedVariableAtomicityDetector` for new bug types `AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE`, `AT_NONATOMIC_64BIT_PRIMITIVE` and `AT_STALE_THREAD_WRITE_OF_PRIMITIVE` (See SEI CERT rules [VNA00-J](https://wiki.sei.cmu.edu/confluence/display/java/VNA00-J.+Ensure+visibility+when+accessing+shared+primitive+variables), [VNA02-J](https://wiki.sei.cmu.edu/confluence/display/java/VNA02-J.+Ensure+that+compound+operations+on+shared+variables+are+atomic) and [VNA05-J](https://wiki.sei.cmu.edu/confluence/display/java/VNA05-J.+Ensure+atomicity+when+reading+and+writing+64-bit+values)).
11+
- New detector `ResourceInMultipleThreadsDetector` and introduced new bug type:
12+
- `AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD` is reported in case of unsafe resource access in multiple threads.
13+
- New detector `AtomicOperationsCombinedDetector` and introduced new bug types:
14+
- `AT_COMBINED_ATOMIC_OPERATIONS_ARE_NOT_ATOMIC` is reported in case of combined atomic operations are not synchronized.
15+
- `AT_ATOMIC_OPERATION_NEEDS_SYNCHRONIZATION` is reported when an atomic operation is not synchronized, but should be because of thread safety.
16+
17+
### Fixed
18+
- Fixed the parsing of generics methods in `ThrowingExceptions` ([#3267](https://github.com/spotbugs/spotbugs/issues/3267))
19+
- Accept the 1st parameter of `java.util.concurrent.CompletableFuture`'s `completeOnTimeout()`, `getNow()` and `obtrudeValue()` functions as nullable ([#1001](https://github.com/spotbugs/spotbugs/issues/1001)).
20+
- Fixed the an analysis error when `FindReturnRef` was checking instructions corresponding to a CFG branch that was optimized away ([#3266](https://github.com/spotbugs/spotbugs/issues/3266))
21+
- Added execute file permission to files in the distribution archive ([#3274](https://github.com/spotbugs/spotbugs/issues/3274))
22+
- Fixed a stack overflow in `MultipleInstantiationsOfSingletons` when a singleton initializer makes recursive calls ([#3280](https://github.com/spotbugs/spotbugs/issues/3280))
23+
- Fixed NPE in `FindReturnRef` on inner class fields ([#3283](https://github.com/spotbugs/spotbugs/issues/3283))
24+
- Fixed NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE false positive when add edu.umd.cs.findbugs.annotations.Nullable ([#3243](https://github.com/spotbugs/spotbugs/issues/3243))
25+
26+
## 4.9.0 - 2025-01-15
927
### Added
1028
- Updated the `SuppressFBWarnings` annotation to support finer grained bug suppressions ([#3102](https://github.com/spotbugs/spotbugs/pull/3102))
1129
- SimpleDateFormat, DateTimeFormatter, FastDateFormat string check for bad combinations of flag formatting ([#637](https://github.com/spotbugs/spotbugs/issues/637))
30+
- New detector `ResourceInMultipleThreadsDetector` and introduced new bug type:
31+
- `AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD` is reported in case of unsafe resource access in multiple threads.
32+
- New detector `FindHiddenMethod` for bug type `HSM_HIDING_METHOD`. This bug is reported whenever a subclass method hides the static method of super class. (See [SEI CERT MET07-J] (https://wiki.sei.cmu.edu/confluence/display/java/MET07-J.+Never+declare+a+class+method+that+hides+a+method+declared+in+a+superclass+or+superinterface)).
1233

1334
### Fixed
1435
- Do not consider Records as Singletons ([#2981](https://github.com/spotbugs/spotbugs/issues/2981))
1536
- Keep a maximum of 10000 cached analysis entries for plugin's analysis engines ([#3025](https://github.com/spotbugs/spotbugs/pull/3025))
1637
- Only report `MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT` when calling own methods ([#2957](https://github.com/spotbugs/spotbugs/issues/2957))
17-
- Check the actual caught exceptions (instead of the their common type) when analyzing multi-catch blocks ([#2968](https://github.com/spotbugs/spotbugs/issues/2968))
38+
- Check the actual caught exceptions (instead of their common type) when analyzing multi-catch blocks ([#2968](https://github.com/spotbugs/spotbugs/issues/2968))
1839
- System property `findbugs.refcomp.reportAll` is now being used. For some new conditions, it will emit an experimental warning ([#2988](https://github.com/spotbugs/spotbugs/pull/2988))
1940
- `-version` flag prints the version to the standard output ([#2797](https://github.com/spotbugs/spotbugs/issues/2797))
2041
- Revert the changes from ([#2894](https://github.com/spotbugs/spotbugs/pull/2894)) to get HTML stylesheets to work again ([#2969](https://github.com/spotbugs/spotbugs/issues/2969))
@@ -26,20 +47,36 @@ Currently the versioning policy of this project follows [Semantic Versioning v2.
2647
- Fixed some CWE mappings ([#3124](https://github.com/spotbugs/spotbugs/pull/3124))
2748
- Recognize some classes as immutable, fixing EI_EXPOSE and MS_EXPOSE FPs ([#3137](https://github.com/spotbugs/spotbugs/pull/3137))
2849
- Do not report UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR for fields initialized in method annotated with TestNG's @BeforeClass. ([#3152](https://github.com/spotbugs/spotbugs/issues/3152))
50+
- Fixed detector `FindReturnRef` not finding references exposed from nested and inner classes ([#2042](https://github.com/spotbugs/spotbugs/issues/2042))
51+
- Fix call graph, include non-parametric void methods ([#3160](https://github.com/spotbugs/spotbugs/pull/3160))
52+
- Fix multiple reporting of identical bugs messing up statistics ([#3185](https://github.com/spotbugs/spotbugs/issues/3185))
53+
- Added missing comma between line number and confidence when describing matching and mismatching bugs for tests ([#3187](https://github.com/spotbugs/spotbugs/pull/3187))
54+
- Fixed method matchers with array types ([#3203](https://github.com/spotbugs/spotbugs/issues/3203))
55+
- Fix SARIF report's message property in Exception to meet the standard ([#3197](https://github.com/spotbugs/spotbugs/issues/3197))
56+
- Fixed `FI_FINALIZER_NULLS_FIELDS` FPs for functions called finalize() but not with the correct signature. ([#3207](https://github.com/spotbugs/spotbugs/issues/3207))
57+
- Fixed an error in the detection of bridge methods causing analysis crashes ([#3208](https://github.com/spotbugs/spotbugs/issues/3208))
58+
- Fixed detector `ThrowingExceptions` by removing false positive reports, such as synthetic methods (lambdas), methods which inherited their exception specifications and methods which call throwing methods ([#2040](https://github.com/spotbugs/spotbugs/issues/2040))
59+
- Do not report `DP_DO_INSIDE_DO_PRIVILEGED`, `DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED` and `USC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCE` in code targeting Java 17 and above, since it advises the usage of deprecated method ([#1515](https://github.com/spotbugs/spotbugs/issues/1515)).
60+
- Fixed a `RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT` false positive for a builder delegating to another builder ([#3235](https://github.com/spotbugs/spotbugs/issues/3235))
2961

3062
### Cleanup
3163
- Cleanup thread issue and regex issue in test-harness ([#3130](https://github.com/spotbugs/spotbugs/issues/3130))
3264
- Remove extra blank lines and remove public from interface objects as inherently already public ([#3131](https://github.com/spotbugs/spotbugs/issues/3131))
33-
- Fix order of modifiers on properties/methods and ensure correct location in file ([#3132](https://github.com/spotbugs/spotbugs/issues/3132))
34-
- Return objects directly instead of creating more garbage collection by defining them ([#3133](https://github.com/spotbugs/spotbugs/issues/3133))
35-
- Cleanup double initization and fix comments referring to findbugs instead of spotbugs([#3134](https://github.com/spotbugs/spotbugs/issues/3134))
36-
37-
### Added
38-
- New detector `ResourceInMultipleThreadsDetector` and introduced new bug type:
39-
- `AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD` is reported in case of unsafe resource access in multiple threads.
40-
- New detector `AtomicOperationsCombinedDetector` and introduced new bug types:
41-
- `AT_COMBINED_ATOMIC_OPERATIONS_ARE_NOT_ATOMIC` is reported in case of combined atomic operations are not synchronized.
42-
- `AT_ATOMIC_OPERATION_NEEDS_SYNCHRONIZATION` is reported when an atomic operation is not synchronized, but should be because of thread safety.
65+
- Fix order of modifiers on properties/methods and ensure correct location in file ([#3132](https://github.com/spotbugs/spotbugs/issues/3132), [#3177](https://github.com/spotbugs/spotbugs/pull/3177))
66+
- Return objects directly instead of creating more garbage collection by defining them ([#3133](https://github.com/spotbugs/spotbugs/pull/3133), [#3175](https://github.com/spotbugs/spotbugs/pull/3175))
67+
- Restrict the constructor of abstract classes visibility to protected ([#3178](https://github.com/spotbugs/spotbugs/pull/3178))
68+
- Cleanup double initialization and fix comments referring to findbugs instead of spotbugs([#3134](https://github.com/spotbugs/spotbugs/issues/3134))
69+
- Use diamond operator in constructor calls of Collections ([#3176](https://github.com/spotbugs/spotbugs/pull/3176))
70+
- Use `Collection.isEmpty()` or `String.isEmpty()` to test for emptiness ([#3180](https://github.com/spotbugs/spotbugs/pull/3180), [#3219](https://github.com/spotbugs/spotbugs/pull/3219))
71+
- Use method references instead of lambdas where possible ([#3179](https://github.com/spotbugs/spotbugs/pull/3179))
72+
- Move default clauses to the end of switches ([#3222](https://github.com/spotbugs/spotbugs/pull/3222))
73+
- Remove unnecessary throws declarations ([#3220](https://github.com/spotbugs/spotbugs/pull/3220))
74+
- Use `Boolean.parseBoolean()` for string-to-boolean conversion. ([#3217](https://github.com/spotbugs/spotbugs/pull/3217))
75+
- Rename shadowing fields ([#3221](https://github.com/spotbugs/spotbugs/pull/3221))
76+
- Combine catch blocks with the same body ([#3223](https://github.com/spotbugs/spotbugs/pull/3223))
77+
- Merge conditions of nested ifs ([#3231](https://github.com/spotbugs/spotbugs/pull/3231))
78+
- Use non deprecated 'getDottedClassName' instead of 'toDottedClassName'([#3251](https://github.com/spotbugs/spotbugs/pull/3251))
79+
- Use try with resources where possible ([#3253](https://github.com/spotbugs/spotbugs/pull/3253))
4380

4481
### Changed
4582
- Bump up Java version to 11

build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
2-
id "org.sonarqube" version "5.1.0.4882"
2+
id "org.sonarqube" version "6.0.1.5171"
33
id "org.gradle.crypto.checksum" version "1.4.0"
4-
id "com.github.spotbugs" version "6.0.24"
4+
id "com.github.spotbugs" version "6.1.1"
55
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
66
}
77

88
group = 'com.github.spotbugs'
9-
version = '4.9.0-SNAPSHOT'
9+
version = '4.9.1-SNAPSHOT'
1010

1111
apply from: "$rootDir/gradle/java.gradle"
1212
apply from: "$rootDir/gradle/jacoco.gradle"
@@ -30,7 +30,7 @@ allprojects {
3030
mavenCentral()
3131
}
3232
dependencies {
33-
def junitVersion = '5.11.2'
33+
def junitVersion = '5.11.4'
3434
compileOnly platform("org.junit:junit-bom:$junitVersion")
3535
testImplementation platform("org.junit:junit-bom:$junitVersion")
3636
}

buildSrc/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
22
`kotlin-dsl`
3-
id("com.diffplug.spotless") version "6.25.0"
3+
id("com.diffplug.spotless") version "7.0.2"
44
}
55

66
repositories {
77
gradlePluginPortal()
88
}
99
dependencies {
10-
implementation("com.diffplug.gradle:goomph:4.1.0")
11-
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.25.0")
10+
implementation("com.diffplug.gradle:goomph:4.2.0")
11+
implementation("com.diffplug.spotless:spotless-plugin-gradle:7.0.2")
1212
}

docs/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Run `docker build -t spotbugs-sphinx .` to build docker image,
33
# and run `docker run -it -v $(pwd):/documents spotbugs-sphinx make html` to generate documents.
44

5-
FROM sphinxdoc/sphinx:8.0.2
5+
FROM sphinxdoc/sphinx:8.1.3
66

77
WORKDIR /docs/docs
88
RUN pip3 install --upgrade pip

docs/conf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
import os
1717

1818
html_context = {
19-
'version' : '4.8',
20-
'full_version' : '4.8.6',
21-
'maven_plugin_version' : '4.8.6.4',
22-
'gradle_plugin_version' : '6.0.23',
19+
'version' : '4.9',
20+
'full_version' : '4.9.0',
21+
'maven_plugin_version' : '4.9.0.0',
22+
'gradle_plugin_version' : '6.2.0',
2323
'archetype_version' : '0.2.3'
2424
}
2525

docs/faq.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ If you just want general information about SpotBugs, have a look at the manual.
77
Q1: I'm getting java.lang.UnsupportedClassVersionError when I try to run SpotBugs
88
---------------------------------------------------------------------------------
99

10-
SpotBugs requires JRE8 or later to run.
10+
SpotBugs requires JRE11 or later to run.
1111
If you use an earlier version, you will see an exception error message similar to the following:
1212

1313
Exception in thread "main" java.lang.UnsupportedClassVersionError:
1414
edu/umd/cs/findbugs/gui/FindBugsFrame (Unsupported major.minor version 52.0)
1515

16-
The solution is to upgrade to JRE8 or later.
16+
The solution is to upgrade to JRE11 or later.
1717

1818
Q2: SpotBugs is running out of memory, or is taking a long time to finish
1919
-------------------------------------------------------------------------

docs/filter.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ If the ``name`` attribute of ``Class``, ``Source``, ``Method`` or ``Field`` star
113113

114114
Note that the pattern is matched against whole element name and therefore ``.*`` clauses need to be used at pattern beginning and/or end to perform substring matching.
115115

116-
See `java.util.regex.Pattern <https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html>`_ documentation for pattern syntax.
116+
See `java.util.regex.Pattern <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html>`_ documentation for pattern syntax.
117117

118118
Caveats
119119
-------

docs/implement-plugin.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Which super class you should choose
6161
Base detector which analyzes java bytecode in class files.
6262

6363
`OpcodeStackDetector <https://javadoc.io/page/com.github.spotbugs/spotbugs/latest/edu/umd/cs/findbugs/bcel/OpcodeStackDetector.html>`_
64-
Sub class of ``BytecodeScanningDetector``, which can scan the bytecode of a method and use an `operand stack <https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.6.2>`_.
64+
Sub class of ``BytecodeScanningDetector``, which can scan the bytecode of a method and use an `operand stack <https://docs.oracle.com/javase/specs/jvms/se11/html/jvms-2.html#jvms-2.6.2>`_.
6565

6666

6767
Update findbugs.xml

docs/introduction.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Please visit the SpotBugs web page for the latest information on SpotBugs, conta
1111
Requirements
1212
============
1313

14-
To use SpotBugs, you need a runtime environment compatible with Java version 1.8 or later.
14+
To use SpotBugs, you need a runtime environment compatible with Java version 11 or later.
1515
SpotBugs is platform independent, and is known to run on GNU/Linux, Windows, and MacOS X platforms.
1616

1717
You should have at least 512 MB of memory to use SpotBugs.
@@ -20,9 +20,9 @@ To analyze very large projects, more memory may be needed.
2020
Supported Java version
2121
----------------------
2222

23-
SpotBugs is built by JDK8, and run on JRE8 and newer versions.
23+
SpotBugs is built by JDK11, and run on JRE11 and newer versions.
2424

25-
SpotBugs can scan bytecode (class files) generated by JDK8 and newer versions.
25+
SpotBugs can scan bytecode (class files) generated by JDK11 and newer versions.
2626
However, support for Java 11 and newer is still experimental.
2727
Visit `issue tracker <https://github.com/spotbugs/spotbugs/issues>`_ to find known problems.
2828

docs/locale/ja/LC_MESSAGES/introduction.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ msgstr "必要条件"
4545
#: ../../introduction.rst:14
4646
msgid ""
4747
"To use SpotBugs, you need a runtime environment compatible with Java "
48-
"version 1.8 or later. SpotBugs is platform independent, and is known to "
48+
"version 11 or later. SpotBugs is platform independent, and is known to "
4949
"run on GNU/Linux, Windows, and MacOS X platforms."
50-
msgstr "SpotBugsを使うためには、Javaバージョン1.8以降のバージョンと互換性のあるランタイム環境が必要です。SpotBugsは、プラットフォームに依存せず、GNU/Linux、Windows、MacOS Xで動作することが知られています。"
50+
msgstr "SpotBugsを使うためには、Javaバージョン11以降のバージョンと互換性のあるランタイム環境が必要です。SpotBugsは、プラットフォームに依存せず、GNU/Linux、Windows、MacOS Xで動作することが知られています。"
5151

5252
#: ../../introduction.rst:17
5353
msgid ""

docs/locale/pt_BR/LC_MESSAGES/introduction.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ msgstr "Requisitos"
5050
#: ../../introduction.rst:14
5151
msgid ""
5252
"To use SpotBugs, you need a runtime environment compatible with Java "
53-
"version 1.8 or later. SpotBugs is platform independent, and is known to "
53+
"version 11 or later. SpotBugs is platform independent, and is known to "
5454
"run on GNU/Linux, Windows, and MacOS X platforms."
5555
msgstr ""
5656
"Para usar SpotBugs, você precisa de um ambiente compatível com Java "
57-
"versão 1.8 ou posterior. SpotBugs é uma plataforma independente, e é conhecida por "
57+
"versão 11 ou posterior. SpotBugs é uma plataforma independente, e é conhecida por "
5858
"rodar nas plataformas GNU/Linux, Windows, e MacOS X."
5959

6060
#: ../../introduction.rst:17
@@ -70,8 +70,8 @@ msgid "Supported Java version"
7070
msgstr "Versões Java suportadas"
7171

7272
#: ../../introduction.rst:23
73-
msgid "SpotBugs is built by JDK8, and run on JRE8 and newer versions."
74-
msgstr "SpotBugs é construído pelo JDK8 e executado no JRE8 ou versões posteriores."
73+
msgid "SpotBugs is built by JDK11, and run on JRE11 and newer versions."
74+
msgstr "SpotBugs é construído pelo JDK11 e executado no JRE11 ou versões posteriores."
7575

7676
#: ../../introduction.rst:25
7777
msgid ""

0 commit comments

Comments
 (0)