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
*[JEP 495: Simple Source Files and Instance Main Methods (Fourth Preview)](https://openjdk.org/jeps/495)
25
+
26
+
In order to analyze a project with PMD that uses these preview language features,
27
+
you'll need to enable it via the environment variable `PMD_JAVA_OPTS` and select the new language
28
+
version `24-preview`:
29
+
30
+
export PMD_JAVA_OPTS=--enable-preview
31
+
pmd check --use-version java-24-preview ...
32
+
33
+
Note: Support for Java 22 preview language features have been removed. The version "22-preview"
34
+
are no longer available.
35
+
17
36
#### New GPG Release Signing Key
18
37
19
38
Since January 2025, we switched the GPG Key we use for signing releases in Maven Central to be
@@ -52,14 +71,24 @@ For the changes, see [PMD Designer Changelog (7.10.0)](https://github.com/pmd/pm
52
71
*[#3158](https://github.com/pmd/pmd/issues/3158): \[apex] ApexSuggestUsingNamedCred false positive with Named Credential merge fields
53
72
* documentation
54
73
*[#2492](https://github.com/pmd/pmd/issues/2492): \[doc] Promote wiki pages to standard doc pages
74
+
* java
75
+
*[#5154](https://github.com/pmd/pmd/issues/5154): \[java] Support Java 24
55
76
* java-performance
56
77
*[#5311](https://github.com/pmd/pmd/issues/5311): \[java] TooFewBranchesForSwitch false positive for exhaustive switches over enums without default case
0 commit comments