Andreas Dangel
60a29f08a5
Merge branch 'master' into pr-5125
2024-08-29 10:10:35 +02:00
Andreas Dangel
753dcca877
[doc] Update contributors
...
- Add @jbisotti as a contributor
- Add @soloturn as a contributor
- Add @schosin as a contributor
2024-08-29 09:58:16 +02:00
Andreas Dangel
af1929318b
[doc] Update release notes
2024-08-29 09:30:40 +02:00
Andreas Dangel
40688ae06d
[java] Revamp GuardLogStatementRule to allow var, field and array accesses ( #5169 )
...
Merge pull request #5169 from Monits:issue-5151
2024-08-29 09:25:59 +02:00
Clément Fournier
672fd635c9
Improve error handling of semantic exceptions
2024-08-28 13:23:43 +02:00
Andreas Dangel
93bfe7df0f
Merge branch 'master' into issue-5062-support-java-23
2024-08-27 20:09:09 +02:00
Andreas Dangel
d7d8c9cb29
[java] Rename ASTImportDeclaration#isModuleImport
2024-08-27 19:58:07 +02:00
Andreas Dangel
cd33eb621e
Update gems
...
Fixes https://github.com/pmd/pmd/security/dependabot/64
Fixes CVE-2024-43380
Fixes https://github.com/advisories/GHSA-2m96-52r3-2f3g
Fixes https://github.com/pmd/pmd/security/dependabot/65
Fixes https://github.com/pmd/pmd/security/dependabot/66
Fixes CVE-2024-43398
Fixes https://github.com/advisories/GHSA-vmwr-mc7x-5vc3
2024-08-27 19:16:38 +02:00
Andreas Dangel
77bf2b1616
[doc] Update release notes ( #5167 )
2024-08-27 19:13:56 +02:00
Clément Fournier
9c0c7f28e2
Throw typeres failures instead of catching them
...
They will be surfaced as processing errors
2024-08-26 13:21:41 +02:00
Clément Fournier
e597e21eda
Update pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/SemanticErrorReporter.java
2024-08-25 22:07:43 +02:00
Clément Fournier
60e0109bbb
Update pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/types/LubTest.kt
2024-08-25 19:48:40 +02:00
Clément Fournier
d7a15d1854
Report typeres errors more transparently
2024-08-25 19:46:01 +02:00
Clément Fournier
08b68d7dd0
Fix #5084 - crash in LUB with raw types
2024-08-25 19:28:16 +02:00
Juan Martín Sotuyo Dodero
2f118d0d46
Update changelog, refs #4731
2024-08-24 23:46:33 -03:00
Juan Martín Sotuyo Dodero
91bb6f0b34
Improve docs further
2024-08-24 23:44:22 -03:00
Clément Fournier
d6736903f0
Fix #5162 SingularField FP with synchronized block
2024-08-25 00:46:45 +02:00
Juan Martín Sotuyo Dodero
45618c0e13
Merge branch 'master' into issue-5151
2024-08-24 18:20:38 -03:00
Juan Martín Sotuyo Dodero
6f505b965c
Merge branch 'pr-5177'
2024-08-24 18:19:03 -03:00
Juan Martín Sotuyo Dodero
be47aab265
Update changelog, refs #5167
2024-08-24 18:18:38 -03:00
Clément Fournier
da864aeccd
Fix #5167 - issue with type projection
2024-08-24 16:48:37 +02:00
Juan Martín Sotuyo Dodero
c9c0558e2b
Suppress PMD warning
...
- "Simplifying" the return here would simply make it harder to read
2024-08-24 01:02:06 -03:00
Juan Martín Sotuyo Dodero
1c274fdda0
Update changelog, refs #3602
2024-08-24 00:51:15 -03:00
Juan Martín Sotuyo Dodero
980eaacd13
Unify compile-time constant detection
...
- Improving the constant folder allows other rules to work better
- Fixes #3602
- Curiously, InefficientStringBuffering has been broken since PMD 7.0.0
(regression introduced in #3113 )
2024-08-24 00:48:53 -03:00
Juan Martín Sotuyo Dodero
8ecc21c06f
Merge branch 'master' into issue-5151
2024-08-24 00:14:55 -03:00
Juan Martín Sotuyo Dodero
96f60e9b0e
Handle computed array access keys
...
- Tidy up the code, the fact the `getLogLevelName` was cheating and
returning null when it considered a log to be safe was making the
code harder to think about
2024-08-24 00:11:43 -03:00
Juan Martín Sotuyo Dodero
dcee6e6900
Merge branch 'pr-5176'
2024-08-23 14:36:36 -03:00
Juan Martín Sotuyo Dodero
218222524f
Update changelog, refs #5145
2024-08-23 14:36:12 -03:00
Clément Fournier
43112078a5
Fix issue #5145 - problem with inference of conditional exprs
...
Also finally fixes the bug that we swept under the rug in 24c1093b.
2024-08-23 18:23:43 +02:00
Charles Honton
8a39917fa2
added unit test
2024-08-22 13:54:17 -07:00
Charles Honton
3dd47a3b94
update AvoidSynchronizedAtMethodLevel message to mention ReentrantLock
...
see https://openjdk.org/jeps/8337395
2024-08-22 08:20:06 -07:00
Juan Martín Sotuyo Dodero
4033315c7d
Properly handle all qualifiable expressions
...
- Up date the documentation to better show what is being flagged
2024-08-21 23:40:04 -03:00
Juan Martín Sotuyo Dodero
07f96e79ad
Merge pull request #5171 from pmd/dependabot/maven/net.bytebuddy-byte-buddy-agent-1.14.19
...
Bump net.bytebuddy:byte-buddy-agent from 1.14.12 to 1.14.19
2024-08-19 01:47:04 -03:00
Juan Martín Sotuyo Dodero
90ebac893f
Fix whitespace
2024-08-19 01:45:37 -03:00
dependabot[bot]
42468d769a
Bump net.bytebuddy:byte-buddy-agent from 1.14.12 to 1.14.19
...
Bumps [net.bytebuddy:byte-buddy-agent](https://github.com/raphw/byte-buddy ) from 1.14.12 to 1.14.19.
- [Release notes](https://github.com/raphw/byte-buddy/releases )
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md )
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.12...byte-buddy-1.14.19 )
---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy-agent
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 03:50:15 +00:00
Juan Martín Sotuyo Dodero
15b006a52f
Update changelog, refs #5153
2024-08-18 19:41:56 -03:00
Juan Martín Sotuyo Dodero
9ef927067e
Fix tests regarding array accesses
2024-08-18 19:41:06 -03:00
Juan Martín Sotuyo Dodero
4352b53aec
Add tests regarding array accesses
2024-08-18 19:40:51 -03:00
Juan Martín Sotuyo Dodero
33e7e71bfa
Update changelog, refs #5152
2024-08-18 19:30:34 -03:00
Juan Martín Sotuyo Dodero
abcc20e655
Fix #5152
2024-08-18 19:29:48 -03:00
Juan Martín Sotuyo Dodero
176fae39d2
Add test for #5152
2024-08-18 19:29:39 -03:00
Juan Martín Sotuyo Dodero
0837be674e
Update changelog, refs #5151
2024-08-18 19:24:46 -03:00
Juan Martín Sotuyo Dodero
792d91e062
Fix GuardLogStatementRule for field accesses
2024-08-18 19:23:25 -03:00
Juan Martín Sotuyo Dodero
ca34c3edd3
Add minimal failing case for #5151
2024-08-18 19:22:09 -03:00
dependabot[bot]
2192256b5a
Bump jekyll and github-pages ( #5165 )
...
Bumps the all-gems group with 1 update in the /docs directory: [jekyll](https://github.com/jekyll/jekyll ).
Updates `jekyll` from 3.9.5 to 3.10.0
- [Release notes](https://github.com/jekyll/jekyll/releases )
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown )
- [Commits](https://github.com/jekyll/jekyll/compare/v3.9.5...v3.10.0 )
Updates `github-pages` from 231 to 232
- [Release notes](https://github.com/github/pages-gem/releases )
- [Commits](https://github.com/github/pages-gem/compare/v231...v232 )
---
updated-dependencies:
- dependency-name: jekyll
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all-gems
- dependency-name: github-pages
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all-gems
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 12:54:41 +02:00
dependabot[bot]
623de394ec
Bump org.apache.maven.plugins:maven-site-plugin from 4.0.0-M13 to 4.0.0-M16 ( #5149 )
...
Bumps [org.apache.maven.plugins:maven-site-plugin](https://github.com/apache/maven-site-plugin ) from 4.0.0-M13 to 4.0.0-M16.
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-4.0.0-M13...maven-site-plugin-4.0.0-M16 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-site-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 12:53:15 +02:00
Andreas Dangel
b51be09795
[core] Cache moduleName to URLs in ClasspathClassLoader
2024-08-13 11:46:31 +01:00
Andreas Dangel
13b8556bf6
Fixup from review ( #5112 )
...
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2024-08-13 11:22:43 +01:00
Juan Martín Sotuyo Dodero
aa64ec3894
Merge pull request #5164 from pmd/dependabot/maven/org.apache.maven.plugins-maven-dependency-plugin-3.7.1
...
Bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.1 to 3.7.1
2024-08-12 10:28:54 -03:00
dependabot[bot]
cc5fc196c5
Bump org.apache.maven.plugins:maven-dependency-plugin
...
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin ) from 3.6.1 to 3.7.1.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases )
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.6.1...maven-dependency-plugin-3.7.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 03:37:24 +00:00