GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'main' into chore/scala-javadoc · pmd/pmd@a3cbe4c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish-release.yml
    • publish-snapshot.yml
  • .mvn/wrapper
    • maven-wrapper.properties
  • docs/pages
    • pmd
      • devdocs
        • github_actions_workflows.md
      • languages
        • java.md
      • userdocs
        • cpd
          • cpd.md
        • tools
          • ant.md
    • release_notes.md
  • pmd-cli/src/test/java/net/sourceforge/pmd/cli
    • PmdCliTest.java
  • pmd-dist/src/test/java/net/sourceforge/pmd/dist
    • BinaryDistributionIT.java
  • pmd-java/src
    • main
      • javacc
        • Java.jjt
      • java/net/sourceforge/pmd/lang/java
        • JavaLanguageModule.java
        • ast
          • ASTCompilationUnit.java
          • ASTImplicitClassDeclaration.java
          • ASTImportDeclaration.java
          • ASTMethodDeclaration.java
          • JavaVisitorBase.java
          • internal
            • LanguageLevelChecker.java
        • symbols
          • internal/asm
            • GenericSigBase.java
          • table/internal
            • SymbolTableResolver.java
    • test
      • java/net/sourceforge/pmd/lang/java
        • JavaLanguageModuleTest.java
        • LanguageVersionTest.java
        • ast
          • AllJavaAstTreeDumpTest.java
          • Java23PreviewTreeDumpTest.java
          • Java24PreviewTreeDumpTest.java
          • Java24TreeDumpTest.java
          • Java25PreviewTreeDumpTest.java
          • Java25TreeDumpTest.java
      • kotlin/net/sourceforge/pmd/lang/java/ast
        • ASTInstanceOfExpressionTest.kt
        • KotlinTestingDsl.kt
      • resources/net/sourceforge/pmd/lang/java
        • ast
          • Bug1429.txt
          • Bug1530.txt
          • EmptyStmts1.txt
          • EmptyStmts2.txt
          • EmptyStmts3.txt
          • GitHubBug1780OuterClass.txt
          • GitHubBug207.txt
          • GitHubBug208.txt
          • GitHubBug309.txt
          • GitHubBug3642.txt
          • LambdaBug1333.txt
          • LambdaBug1470.txt
          • LambdaBug206.txt
          • ParserCornerCases.txt
          • ParserCornerCases17.txt
          • ParserCornerCases18.txt
          • SwitchStatements.txt
          • SwitchWithFallthrough.txt
          • SynchronizedStmts.txt
          • jdkversiontests
            • java14
              • MultipleCaseLabels.txt
              • SimpleSwitchExpressions.txt
              • SwitchExpressions.txt
              • SwitchRules.txt
              • YieldStatements.txt
            • java15
              • NonSealedIdentifier.txt
              • TextBlocks.txt
            • java16
              • LocalClassAndInterfaceDeclarations.txt
              • LocalRecords.txt
              • NonSealedIdentifier.txt
              • PatternMatchingInstanceof.txt
              • Point.txt
              • Records.txt
            • java17
              • LocalVars.txt
              • SealedInnerClasses.txt
              • expression
                • Expr.txt
              • geometry
                • Shape.txt
                • Square.txt
            • java21
              • AnnotationValueInitializers.txt
              • DealingWithNull.txt
              • EnhancedTypeCheckingSwitch.txt
              • ExhaustiveSwitch.txt
              • GuardedPatterns.txt
              • Jep440_RecordPatterns.txt
              • Jep441_PatternMatchingForSwitch.txt
              • PatternsInSwitchLabels.txt
              • RecordPatterns.txt
              • RecordPatternsExhaustiveSwitch.txt
              • RefiningPatternsInSwitch.txt
              • ScopeOfPatternVariableDeclarations.txt
            • java22
              • Jep456_UnnamedPatternsAndVariables.txt
            • java23p
              • Jep455_PrimitiveTypesInPatternsInstanceofAndSwitch.java
              • Jep455_PrimitiveTypesInPatternsInstanceofAndSwitch.txt
              • Jep477_ImplicitlyDeclaredClassesAndInstanceMainMethods1.java
              • Jep477_ImplicitlyDeclaredClassesAndInstanceMainMethods2.java
              • Jep477_ImplicitlyDeclaredClassesAndInstanceMainMethods2.txt
              • Jep482_FlexibleConstructorBodies.java
              • StringTemplatesAreNotSupportedAnymore.java
            • java23
              • Jep467_MarkdownDocumentationComments.txt
            • java24p
              • Jep488_PrimitiveTypesInPatternsInstanceofAndSwitch.txt
              • Jep492_FlexibleConstructorBodies.txt
              • Jep494_ModuleImportDeclarations.txt
              • Jep495_SimpleSourceFilesAndInstanceMainMethods.java
              • Jep495_SimpleSourceFilesAndInstanceMainMethods.txt
            • java25p
              • Jep507_PrimitiveTypesInPatternsInstanceofAndSwitch.java
              • Jep507_PrimitiveTypesInPatternsInstanceofAndSwitch.txt
            • java25
              • Jep511_ModuleImportDeclarations.java
              • Jep511_ModuleImportDeclarations.txt
              • Jep512_CompactSourceFilesAndInstanceMainMethodsAfterJava23.java
              • Jep512_CompactSourceFilesAndInstanceMainMethodsAfterJava23.txt
              • Jep512_CompactSourceFilesAndInstanceMainMethodsBeforeJava23.java
              • Jep512_CompactSourceFilesAndInstanceMainMethodsBeforeJava23.txt
              • Jep513_FlexibleConstructorBodies.java
              • Jep513_FlexibleConstructorBodies.txt
            • java8
              • UnnamedVariable.txt
            • java9
              • jdk9_module_info.txt
              • jdk9_module_info_with_annot.txt
        • rule/codestyle/xml
          • UnnecessaryImport.xml
  • pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/lang/test/ast
    • IntelliMarker.kt
  • pom.xml

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish-release.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish-release.yml
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,23 @@ jobs:
512512
owner: pmd
513513
repositories: pmd
514514
permission-contents: write # create a release
515+
- name: Delete old GitHub Pre-Release
516+
env:
517+
PMD_VERSION: ${{ needs.check-version.outputs.PMD_VERSION }}
518+
GH_TOKEN: ${{ steps.pmd-actions-helper-app-token.outputs.token }}
519+
run: |
520+
tagName="pmd_releases/${PMD_VERSION}-SNAPSHOT"
521+
existingTagName="$(gh --repo pmd/pmd release list --json tagName,isPrerelease --jq ".[] | select(.tagName == \"${tagName}\" and .isPrerelease == true) | .tagName")"
522+
523+
if [ "${existingTagName}" = "${tagName}" ]; then
524+
echo "Pre-release for tag ${tagName} exists - deleting it..."
525+
gh release delete "${tagName}" \
526+
--repo pmd/pmd \
527+
--cleanup-tag \
528+
--yes
529+
else
530+
echo "No pre-release ${tagName} exists, nothing to delete"
531+
fi
515532
- name: Create GitHub Release
516533
id: release
517534
env:
Collapse file

‎.github/workflows/publish-snapshot.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish-snapshot.yml
+108Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,114 @@ jobs:
445445
git commit -q -m "$MSG"
446446
git push
447447
448+
github-prerelease:
449+
needs: check-version
450+
environment:
451+
name: github
452+
url: ${{ steps.release.outputs.release_url }}
453+
runs-on: ubuntu-latest
454+
timeout-minutes: 10
455+
defaults:
456+
run:
457+
shell: bash
458+
steps:
459+
- uses: actions/download-artifact@v4
460+
with:
461+
name: dist-artifact
462+
github-token: ${{ secrets.GITHUB_TOKEN }}
463+
run-id: ${{ github.event.workflow_run.id }}
464+
path: dist
465+
466+
- uses: actions/download-artifact@v4
467+
with:
468+
name: docs-artifact
469+
github-token: ${{ secrets.GITHUB_TOKEN }}
470+
run-id: ${{ github.event.workflow_run.id }}
471+
path: docs
472+
473+
- name: Setup GPG
474+
env:
475+
PMD_CI_GPG_PRIVATE_KEY: ${{ secrets.PMD_CI_GPG_PRIVATE_KEY }}
476+
run: |
477+
mkdir -p "${HOME}/.gpg"
478+
chmod 700 "${HOME}/.gpg"
479+
printenv PMD_CI_GPG_PRIVATE_KEY | gpg --batch --import
480+
481+
gpg --list-keys --fingerprint --keyid-format=long
482+
gpg --list-secret-keys --fingerprint --keyid-format=long
483+
- name: Create docs zip
484+
env:
485+
PMD_VERSION: ${{ needs.check-version.outputs.PMD_VERSION }}
486+
run: |
487+
mv docs "pmd-doc-${PMD_VERSION}"
488+
zip -qr "dist/pmd-dist-${PMD_VERSION}-doc.zip" "pmd-doc-${PMD_VERSION}/"
489+
490+
- name: Sign files
491+
env:
492+
PMD_VERSION: ${{ needs.check-version.outputs.PMD_VERSION }}
493+
MAVEN_GPG_PASSPHRASE: ${{ secrets.PMD_CI_GPG_PASSPHRASE }}
494+
run: |
495+
cd dist
496+
printenv MAVEN_GPG_PASSPHRASE | gpg --pinentry-mode loopback --passphrase-fd 0 --batch --no-tty \
497+
--status-fd 1 --armor --detach-sign --sign "pmd-dist-${PMD_VERSION}-bin.zip"
498+
printenv MAVEN_GPG_PASSPHRASE | gpg --pinentry-mode loopback --passphrase-fd 0 --batch --no-tty \
499+
--status-fd 1 --armor --detach-sign --sign "pmd-dist-${PMD_VERSION}-src.zip"
500+
printenv MAVEN_GPG_PASSPHRASE | gpg --pinentry-mode loopback --passphrase-fd 0 --batch --no-tty \
501+
--status-fd 1 --armor --detach-sign --sign "pmd-dist-${PMD_VERSION}-doc.zip"
502+
- uses: actions/create-github-app-token@v2
503+
id: pmd-actions-helper-app-token
504+
with:
505+
app-id: ${{ secrets.PMD_ACTIONS_HELPER_ID }}
506+
private-key: ${{ secrets.PMD_ACTIONS_HELPER_PRIVATE_KEY }}
507+
owner: pmd
508+
repositories: pmd
509+
permission-contents: write # create a release
510+
- name: Delete old GitHub Pre-Release
511+
env:
512+
PMD_VERSION: ${{ needs.check-version.outputs.PMD_VERSION }}
513+
GH_TOKEN: ${{ steps.pmd-actions-helper-app-token.outputs.token }}
514+
run: |
515+
tagName="pmd_releases/${PMD_VERSION}"
516+
existingTagName="$(gh --repo pmd/pmd release list --json tagName,isPrerelease --jq ".[] | select(.tagName == \"${tagName}\" and .isPrerelease == true) | .tagName")"
517+
518+
if [ "${existingTagName}" = "${tagName}" ]; then
519+
echo "Pre-release for tag ${tagName} already exists - deleting it..."
520+
gh release delete "${tagName}" \
521+
--repo pmd/pmd \
522+
--cleanup-tag \
523+
--yes
524+
else
525+
echo "No pre-release ${tagName} exists, nothing to delete"
526+
fi
527+
- name: Create GitHub Pre-Release
528+
id: release
529+
env:
530+
PMD_VERSION: ${{ needs.check-version.outputs.PMD_VERSION }}
531+
GH_TOKEN: ${{ steps.pmd-actions-helper-app-token.outputs.token }}
532+
run: |
533+
tagName="pmd_releases/${PMD_VERSION}"
534+
# now, create a new pre-release for the same tag (new tag will be created)
535+
release_name="PMD ${PMD_VERSION} ($(date -u +%d-%B-%Y))"
536+
gh release create "${tagName}" \
537+
--repo pmd/pmd \
538+
--prerelease \
539+
--target main \
540+
--title "$release_name" \
541+
--notes-file "pmd-doc-${PMD_VERSION}/pmd_release_notes.md" \
542+
"dist/pmd-dist-${PMD_VERSION}-bin.zip" \
543+
"dist/pmd-dist-${PMD_VERSION}-bin.zip.asc" \
544+
"dist/pmd-dist-${PMD_VERSION}-src.zip" \
545+
"dist/pmd-dist-${PMD_VERSION}-src.zip.asc" \
546+
"dist/pmd-dist-${PMD_VERSION}-doc.zip" \
547+
"dist/pmd-dist-${PMD_VERSION}-doc.zip.asc" \
548+
"dist/pmd-${PMD_VERSION}-cyclonedx.xml" \
549+
"dist/pmd-${PMD_VERSION}-cyclonedx.json"
550+
echo "release_url=https://github.com/pmd/pmd/releases/tag/pmd_releases%2F${PMD_VERSION}" >> "$GITHUB_OUTPUT"
551+
- name: Cleanup gpg
552+
if: ${{ always() }}
553+
run: |
554+
rm -rf "${HOME}/.gpg"
555+
448556
create-regression-tester-baseline:
449557
needs: check-version
450558
runs-on: ubuntu-latest
Collapse file

‎.mvn/wrapper/maven-wrapper.properties‎

Copy file name to clipboardExpand all lines: .mvn/wrapper/maven-wrapper.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
Collapse file

‎docs/pages/pmd/devdocs/github_actions_workflows.md‎

Copy file name to clipboardExpand all lines: docs/pages/pmd/devdocs/github_actions_workflows.md
+7-3Lines changed: 7 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ summary: |
55
PMD uses GitHub Actions as the CI/CD infrastructure to build and release new versions.
66
This page gives an overview of how these workflows work and how to use them.
77
author: Andreas Dangel <[email protected]>
8-
last_updated: June 2025 (7.15.0)
8+
last_updated: July 2025 (7.16.0)
99
---
1010

1111
{%include note.html content="This page is work in progress and does not yet describe all workflows."%}
@@ -189,6 +189,10 @@ we are actually building a SNAPSHOT version. Then a couple of other jobs are bei
189189
<https://pmd.github.io/pmd/>.
190190
* Environment: github-pages
191191
* Secrets: no additional secrets
192+
* github-prerelease: Creates a new GitHub pre-release at <https://github.com/pmd/pmd/releases> including
193+
the attached artifacts. It first removes an old pre-release, then
194+
creates the new one with the same tag name. This means, the tag is moved forward for every pre-release.
195+
* Environment: github
192196
* create-regression-tester-baseline: Creates a new baseline to be used by the pull request builds
193197
for regression testing. The baseline is uploaded to <https://pmd-code.org/pmd-regression-tester/main-baseline.zip>.
194198
* Environment: pmd-code
@@ -246,8 +250,8 @@ When this was successful, then a couple of other jobs are being executed in para
246250
* Environment: pmd-code
247251
* Secrets: PMD_CODE_ORG_DEPLOY_KEY
248252
* Vars: PMD_CODE_ORG_KNOWN_HOSTS
249-
* github-release: Creates a new github release at <https://github.com/pmd/pmd/releases> including
250-
the attached artifacts.
253+
* github-release: Creates a new GitHub release at <https://github.com/pmd/pmd/releases> including
254+
the attached artifacts. Deletes a pre-release for the same version, if it exists.
251255
* Environment: github
252256
* create-sourceforge-blog-post: Creates a news entry at <https://sourceforge.net/p/pmd/news/>.
253257
* Environment: sourceforge
Collapse file

‎docs/pages/pmd/languages/java.md‎

Copy file name to clipboardExpand all lines: docs/pages/pmd/languages/java.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Java support
33
permalink: pmd_languages_java.html
44
author: Clément Fournier
5-
last_updated: January 2025 (7.10.0)
5+
last_updated: July 2025 (7.16.0)
66
tags: [languages, PmdCapableLanguage, CpdCapableLanguage]
77
summary: "Java-specific features and guidance"
88
---
@@ -15,9 +15,10 @@ Usually the latest non-preview Java Version is the default version.
1515

1616
| Java Version | Alias | Supported by PMD since |
1717
|--------------|-------|------------------------|
18+
| 25-preview | | 7.16.0 |
19+
| 25 (default) | | 7.16.0 |
1820
| 24-preview | | 7.10.0 |
19-
| 24 (default) | | 7.10.0 |
20-
| 23-preview | | 7.5.0 |
21+
| 24 | | 7.10.0 |
2122
| 23 | | 7.5.0 |
2223
| 22 | | 7.0.0 |
2324
| 21 | | 7.0.0 |
Collapse file

‎docs/pages/pmd/userdocs/cpd/cpd.md‎

Copy file name to clipboardExpand all lines: docs/pages/pmd/userdocs/cpd/cpd.md
+2-36Lines changed: 2 additions & 36 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags: [cpd, userdocs]
44
summary: "Learn how to use CPD, the copy-paste detector shipped with PMD."
55
permalink: pmd_userdocs_cpd.html
66
author: Tom Copeland <[email protected]>
7-
last_updated: May 2025 (7.14.0)
7+
last_updated: July 2025 (7.16.0)
88
---
99

1010
## Overview
@@ -270,41 +270,7 @@ to be "debug".
270270

271271
## Supported Languages
272272

273-
* C#
274-
* C/C++
275-
* [Coco](pmd_languages_coco.html)
276-
* Dart
277-
* EcmaScript (JavaScript)
278-
* Fortran
279-
* [Gherkin](pmd_languages_gherkin.html) (Cucumber)
280-
* Go
281-
* Groovy
282-
* [Html](pmd_languages_html.html)
283-
* [Java](pmd_languages_java.html)
284-
* [Jsp](pmd_languages_jsp.html)
285-
* [Julia](pmd_languages_julia.html)
286-
* [Kotlin](pmd_languages_kotlin.html)
287-
* Lua
288-
* Matlab
289-
* Modelica
290-
* Objective-C
291-
* Perl
292-
* PHP
293-
* [PL/SQL](pmd_languages_plsql.html)
294-
* Python
295-
* Ruby
296-
* [Rust](pmd_languages_rust.html)
297-
* [Salesforce.com Apex](pmd_languages_apex.html)
298-
* Scala
299-
* Swift
300-
* T-SQL
301-
* [TypeScript](pmd_languages_js_ts.html)
302-
* [Visualforce](pmd_languages_visualforce.html)
303-
* vm (Apache Velocity)
304-
* [XML](pmd_languages_xml.html)
305-
* POM (Apache Maven)
306-
* XSL
307-
* WSDL
273+
See [CPD Capable Languages](tag_CpdCapableLanguage.html) for the full list of supported languages.
308274

309275
## Available report formats
310276

Collapse file

‎docs/pages/pmd/userdocs/tools/ant.md‎

Copy file name to clipboardExpand all lines: docs/pages/pmd/userdocs/tools/ant.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: >
66
David Dixon-Peugh <[email protected]>,
77
Tom Copeland <[email protected]>,
88
Xavier Le Vourch <[email protected]>
9-
last_updated: January 2025 (7.10.0)
9+
last_updated: July 2025 (7.16.0)
1010
---
1111

1212
## PMD
@@ -213,7 +213,7 @@ accordingly and this rule won't be executed.
213213
The specific version of a language to be used is selected via the `sourceLanguage`
214214
nested element. Example:
215215

216-
<sourceLanguage name="java" version="24"/>
216+
<sourceLanguage name="java" version="25"/>
217217

218218
The available versions depend on the language. You can get a list of the currently supported language versions
219219
via the CLI option `--help`.
Collapse file

‎docs/pages/release_notes.md‎

Copy file name to clipboardExpand all lines: docs/pages/release_notes.md
+40-1Lines changed: 40 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,45 @@ This is a {{ site.pmd.release_type }} release.
2424

2525
### 🚀 New and noteworthy
2626

27+
#### 🚀 New: Java 25 Support
28+
This release of PMD brings support for Java 25.
29+
30+
There are the following new standard language features:
31+
* [JEP 511: Module Import Declarations](https://openjdk.org/jeps/511)
32+
* [JEP 512: Compact Source Files and Instance Main Methods](https://openjdk.org/jeps/512)
33+
* [JEP 513: Flexible Constructor Bodies](https://openjdk.org/jeps/513)
34+
35+
And one preview language feature:
36+
* [JEP 507: Primitive Types in Patterns, instanceof, and switch (Third Preview)](https://openjdk.org/jeps/507)
37+
38+
In order to analyze a project with PMD that uses these preview language features,
39+
you'll need to enable it via the environment variable `PMD_JAVA_OPTS` and select the new language
40+
version `25-preview`:
41+
42+
export PMD_JAVA_OPTS=--enable-preview
43+
pmd check --use-version java-25-preview ...
44+
45+
Note: Support for Java 23 preview language features have been removed. The version "23-preview"
46+
is no longer available.
47+
2748
#### New: CPD support for CSS
2849
CPD now supports CSS (Cascading Style Sheets), a language for describing the rendering of structured
2950
documents (such as HTML) on screen, on paper etc.
3051
It is shipped with the new module `pmd-css`.
3152

3253
#### ✨ New Rules
33-
3454
* Two new rules have been added to Java's Error Prone category: {%rule java/errorprone/ReplaceJavaUtilCalendar %}
3555
and {%rule java/errorprone/ReplaceJavaUtilDate %}. These rules help to migrate away from old Java APIs around
3656
`java.util.Calendar` and `java.util.Date`. It is recommended to use the modern `java.time` API instead, which
3757
is available since Java 8.
3858

3959
### 🐛 Fixed Issues
4060
* core
61+
* [#4328](https://github.com/pmd/pmd/issues/4328): \[ci] Improve Github Actions Workflows
4162
* [#5597](https://github.com/pmd/pmd/issues/5597): \[core] POM Incompatibility with Maven 4
63+
* java
64+
* [#5344](https://github.com/pmd/pmd/issues/5344): \[java] IllegalArgumentException: Invalid type reference for method or ctor type annotation: 16
65+
* [#5478](https://github.com/pmd/pmd/issues/5478): \[java] Support Java 25
4266
* java-codestyle
4367
* [#5892](https://github.com/pmd/pmd/issues/5892): \[java] ShortVariable false positive for java 22 unnamed variable `_`
4468
* java-design
@@ -48,14 +72,29 @@ It is shipped with the new module `pmd-css`.
4872

4973
### 🚨 API Changes
5074

75+
#### Experimental APIs that are now considered stable
76+
* pmd-java
77+
* {% jdoc !!java::lang.java.ast.ASTImportDeclaration#isModuleImport() %} is now stable API.
78+
* {% jdoc !!java::lang.java.ast.ASTCompilationUnit#isCompact() %} is now stable API. Note, it was previously
79+
called `isSimpleCompilationUnit`.
80+
* {% jdoc java::lang.java.ast.ASTImplicitClassDeclaration %} is now stable API.
81+
* {% jdoc !ac!java::lang.java.ast.JavaVisitorBase#visit(java::lang.java.ast.ASTImplicitClassDeclaration,P) %} is now
82+
stable API.
83+
5184
### ✨ Merged pull requests
5285
<!-- content will be automatically generated, see /do-release.sh -->
5386
* [#5733](https://github.com/pmd/pmd/pull/5733): \[css] Add new CPD language - [Thomas Prouvot](https://github.com/tprouvot) (@tprouvot)
5487
* [#5859](https://github.com/pmd/pmd/pull/5859): Fix #5858: \[java] Fix false positive in FinalFieldCouldBeStatic for array initializers - [Zbynek Konecny](https://github.com/zbynek) (@zbynek)
5588
* [#5876](https://github.com/pmd/pmd/pull/5876): chore: license header cleanup - [Andreas Dangel](https://github.com/adangel) (@adangel)
5689
* [#5883](https://github.com/pmd/pmd/pull/5883): Fix #2862: \[java] Add rules discouraging the use of java.util.Calendar and java.util.Date - [UncleOwen](https://github.com/UncleOwen) (@UncleOwen)
90+
* [#5893](https://github.com/pmd/pmd/pull/5893): chore: Fix Mockito javaagent warning for Java 21+ - [Andreas Dangel](https://github.com/adangel) (@adangel)
91+
* [#5894](https://github.com/pmd/pmd/pull/5894): chore: Fix JUnit warning about invalid test factory - [Andreas Dangel](https://github.com/adangel) (@adangel)
5792
* [#5895](https://github.com/pmd/pmd/pull/5895): Fix #5597: Move dogfood profile to separate settings.xml - [Andreas Dangel](https://github.com/adangel) (@adangel)
93+
* [#5899](https://github.com/pmd/pmd/pull/5899): Fix #5344: \[java] Just log invalid annotation target type - [Andreas Dangel](https://github.com/adangel) (@adangel)
94+
* [#5909](https://github.com/pmd/pmd/pull/5909): \[ci] Create a pre-release for snapshot builds - [Andreas Dangel](https://github.com/adangel) (@adangel)
95+
* [#5911](https://github.com/pmd/pmd/pull/5911): \[doc] Reference CPD Capable Languages in CPD CLI docu - [Andreas Dangel](https://github.com/adangel) (@adangel)
5896
* [#5914](https://github.com/pmd/pmd/pull/5914): Fix #5892: \[java] ShortVariable FP for java 22 Unnamed Variable - [Lukas Gräf](https://github.com/lukasgraef) (@lukasgraef)
97+
* [#5918](https://github.com/pmd/pmd/pull/5918): chore: \[cli] Improve symbolic link tests for Windows - [Andreas Dangel](https://github.com/adangel) (@adangel)
5998
* [#5920](https://github.com/pmd/pmd/pull/5920): chore: \[scala] Fix javadoc config - [Andreas Dangel](https://github.com/adangel) (@adangel)
6099

61100
### 📦 Dependency updates

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.