* Mon Oct 07 2024 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.26.2
* Changed
+ Move formatting workflows into separate file (PR #4480 by
@johannescoetzee)
+ Exclude unavailable macos <-> java version combinations from
github tests (PR #4479 by @johannescoetzee)
* Fixed
+ Fixes #4526. Fix Node.PostOrderIterator for roots without
children (PR #4538 by @ktul)
+ Add missing copyright notice to RecordPatternExpr.java (PR
[#4527] by @johannescoetzee)
+ Add missing type erasure in ClassOrInterfaceType.toDescriptor
(PR #4522 by @johanneskloos)
+ Allow primitive types for patterns (PR #4506 by
@johannescoetzee)
+ Fix project formatting (PR #4499 by @johannescoetzee)
+ Fix: issue 4492 resolve LambdaExpr has NullPointException (PR
[#4497] by @jlerbsc)
+ Fix: issue 2738 UnsolvedSymbolException while trying to
ResolvedMethodDeclaration from MethodCallExpr (PR #4482 by
@jlerbsc)
* Developer Changes
+ fix(deps): update byte-buddy.version to v1.15.1 (PR #4547 by
@renovate[bot])
+ fix(deps): update byte-buddy.version to v1.15.0 (PR #4543 by
@renovate[bot])
+ fix(deps): update dependency com.google.guava:guava to
v33.3.0-jre (PR #4532 by @renovate[bot])
+ fix(deps): update dependency net.bytebuddy:byte-buddy-agent
to v1.14.19 (PR #4531 by @renovate[bot])
+ chore(deps): update junit5 monorepo to v5.11.0 (PR #4528 by
@renovate[bot])
+ fix(deps): update byte-buddy.version to v1.14.18 (PR #4493 by
@renovate[bot])
+ chore(deps): update actions/checkout action to v4.1.7 (PR
[#4486] by @renovate[bot])
+ chore(deps): update actions/checkout action to v4.0.0 (PR
[#4485] by @renovate[bot])
+ chore(deps): update junit5 monorepo to v5.10.3 (PR #4483 by
@renovate[bot])
* Uncategorised
+ Add better instructions for re-formatting the project (PR
[#4540] by @johannescoetzee)
- Upgrade to upstream version 3.26.1
* Added
+ Fix record declarations nested in annotation declarations (PR
[#4460] by @johannescoetzee)
* Changed
+ Format code with spotless (PR #4465 by @johannescoetzee)
+ Simplifying the search for types in compilation unit (PR
[#4459] by @jlerbsc)
+ Add spotless plugin configuration (PR #4409 by
@johannescoetzee)
* Fixed
+ Disable spotless ratcheting and fix formatting (PR #4478 by
@johannescoetzee)
+ Fix: issue 4450 Endless recursion (-> StackOverflow) with
cyclic static references (PR #4477 by @jlerbsc)
+ Fix: issue 4399 MethodCallExpr inside lambda in assignment
expression cannot be resolved (PR #4462 by @jlerbsc)
+ Fix crash on SwitchExpr entries if tokens are not stored (PR
[#4461] by @johannescoetzee)
+ Fix lookahead for pattern expression in switch entries [Issue
4455] (PR #4458 by @johannescoetzee)
* Developer Changes
+ Automatically format code after codegen and validate with a
github action (PR #4468 by @johannescoetzee)
+ Add git-blame-ignore-revs file to ignore the reformatting
commit in git blame (PR #4466 by @johannescoetzee)
* Uncategorised
+ Add link to the guide to adding nodes in CONTRIBUTING.md (PR
[#4453] by @johannescoetzee)
- Upgrade to upstream version 3.26.0
* Added
+ [JEP 440] Add support for record patterns (PR #4432 by
@johannescoetzee)
+ PatternExpr -> TypePatternExpr refactor in preparation for
record pattern implementation (PR #4387 by @johannescoetzee)
+ [JEP441] Add support for switch pattern matching (PR #4375 by
@johannescoetzee)
+ Add support for case null, default in switch and fix concrete
syntax model for new switch syntax (PR #4364 by
@johannescoetzee)
* Changed
+ Fixes SYSTEM_EOL warnings (PR #4412 by @matthieu-vergne)
+ Refact: Adds a find node by range method in Node class (PR
[#4377] by @jlerbsc)
* Fixed
+ Fix: issue 3277 StackOverflow issue while parse
MethodCallExpr/FieldAccessExpr, their ancestor/child node is
ObjectCreation expression which contain .new (PR #4447 by
@jlerbsc)
+ Fix expressions in the body of switch expression entries
(Issue 4440) (PR #4446 by @johannescoetzee)
+ Fix: issue 4442 LexicalPreservingPrinter does not support
unexpected token (PR #4444 by @jlerbsc)
+ Fix: issue 3100 JavaSymbolSolver unable to resolve an inner
class defined in a base class (PR #4441 by @jlerbsc)
+ Fix: 4330 Method 'forEach' cannot be resolved in certain
context (PR #4436 by @jlerbsc)
+ Fix: 'permits' and 'sealed' Contextual keyworlds usage (PR
[#4434] by @jlerbsc)
+ Fixes an error in jbehave tests when they are run in a
Windows os (PR #4433 by @jlerbsc)
+ Make resolution of implements and extends types start with
the parent… (PR #4430 by @eldapiiro)
+ Fix: solveMethodAsUsage() for implicit method ::values() (PR
[#4424] by @Kimmmey)
+ Fix: ::values() is a static method, was not static (PR #4417
by @Kimmmey)
+ Fix missed generated code from PatternExpr refactor (PR #4414
by @johannescoetzee)
+ Fixes #4410 (PR #4411 by @matthieu-vergne)
+ Fix issue 2368 Unable to calculate the type of a varargs
parameter (PR #4402 by @jlerbsc)
+ Fix: Fixes the version currently supported by Javaparser. (PR
[#4393] by @jlerbsc)
+ ?? make mvnw command runnable by copy-pasting (PR #4382 by
@cravingPixels)
* Developer Changes
+ chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (PR
[#4415] by @dependabot[bot])
+ Minor refactoring on Concrete syntax model (PR #4405 by
@jlerbsc)
+ chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 (PR
[#4381] by @dependabot[bot])
* Uncategorised
+ Improve unit test on generic (PR #4407 by @jlerbsc)
* Sun May 05 2024 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.10
* Fixed
+ Fix issue 4345 Strange error when trying to find erasure of
generic t… (PR #4362 by @jlerbsc)
+ fix: issue 4358 prevent infinite cycles with static imports
(PR #4359 by @kdunee)
+ Refactor ResolvedReferenceType#equals (PR #4351 by @freya022)
+ fix: issue 4331 Cannot be 'abstract' and also 'private'. for
a private method in an interface (PR #4332 by @jlerbsc)
* Developer Changes
+ chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (PR
[#4341] by @dependabot[bot])
* Sat Jan 13 2024 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.8
* Added
+ feat: creates cache statistics and moves Cache interface to
javaparser-core (PR #4278 by @jlerbsc)
+ feat: Add parseArrayInitializerExpr to JavaParser API (PR
[#4276] by @iMashtak)
+ feat: A visitor looking for a node by its position in an AST
(PR #4258 by @jlerbsc)
* Changed
+ fix: Partial removal of the use of instanceof in favour of
the use of the API (PR #4280 by @jlerbsc)
+ [GHA] Run on java 18 (PR #4252 by @hazendaz)
* Fixed
+ fix: issue 4240 Calling resolve on catch block parameter
throws exception (PR #4279 by @jlerbsc)
+ Fix: issue 4270 Exception when resolving ObjectCreationExpr
with nested varargs (PR #4273 by @jlerbsc)
+ add Java_18 to yieldSupport (PR #4262 by @Kimmmey)
+ fix: issue #4245 UnsupportedOperationException with
LexicalPreservingPrinter when removing a sealed modified (PR
[#4253] by @jlerbsc)
+ [ci] Fix change log released version as 3.25.7 (PR #4251 by
@hazendaz)
+ Fix: issue 3278 Lazy types cause stack overflow when trying
to find the least upper bound type (PR #4246 by @jlerbsc)
* Developer Changes
+ chore(deps): bump com.google.guava:guava from 32.1.3-jre to
33.0.0-jre (PR #4264 by @dependabot[bot])
* Uncategorised
+ Revert "Refactoring: Move cache features to javaparser-core"
(PR #4274 by @jlerbsc)
* Fri Dec 22 2023 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.7
* Added
+ [GHA] Remove old comment that is no longer valid around jdks
and add jdk 17 (PR #4226 by @hazendaz)
+ Fix: issue 3833 No enum constant
com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_18
(PR #4221 by @jlerbsc)
* Changed
+ Refactoring: Move cache features to javaparser-core (PR #4238
by @jlerbsc)
+ Fix: removes reference to coveralls plugin which is not
useful because codecov is used to track code coverage (PR
[#4235] by @jlerbsc)
+ Uses jakarta.json api, upgrades jakarta.json-api to the
latest version & uses new default Eclipse Parsson (PR #4234
by @jlerbsc)
+ Move mockito to 4.11.0 and handle byte buddy consistently as
well as properly define its agent in argLine for surefire (PR
[#4228] by @hazendaz)
+ Cleanup poms, use jakarta provided (javax namespace),
hamcrest follow up, and switch coveralls plugin - Fixes #4111
(PR #4225 by @hazendaz)
+ [pom] Switch from hamcrest-library (deprecated) to hamcrest
(PR #4200 by @hazendaz)
+ Putting code in the .orElse that has a side effect that can
affect performance (PR #4199 by @jlerbsc)
* Fixed
+ Fix: issue 3650 unreproducible MAVEN_BUILD_TIMESTAMP (PR
[#4243] by @jlerbsc)
+ Fix: issue 3972 StackOverflowError when resolving type of
scope of a MethodCall (PR #4236 by @jlerbsc)
+ [fix] Jdk 18 enum stub was extended off java 16 post
processor not java17 (PR #4227 by @hazendaz)
+ Fix: issue #4047 Symbol Solver mixes name with type (PR #4206
by @jlerbsc)
+ Fix grammar (PR #4203 by @mernst)
+ Minor changes : corrupted format, useless cast, javadoc (PR
[#4198] by @jlerbsc)
* Developer Changes
+ chore(deps): update actions/setup-java action to v4 (PR #4241
by @renovate[bot])
+ chore(deps): bump org.codehaus.mojo:build-helper-maven-plugin
from 3.4.0 to 3.5.0 (PR #4223 by @dependabot[bot])
+ Adds sponsor link to help the project live and grow (PR #4204
by @jlerbsc)
+ chore(deps): bump org.codehaus.mojo:templating-maven-plugin
from 1.0.0 to 3.0.0 (PR #4195 by @dependabot[bot])
+ chore(deps): update junit5 monorepo to v5.10.1 (PR #4193 by
@renovate[bot])
* Uncategorised
+ Added unit tests for visitors (PR #4239 by @4everTheOne)
+ Unit tests for class GenericListVisitorAdapter (PR #4237 by
@4everTheOne)
+ Update readme.md (PR #4222 by @jlerbsc)
* Wed Nov 22 2023 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.6
* Changed
+ reformat javaconcept take 2 (PR #4167 by @JimmyGan437)
+ Using JAXP on XMLPrinter implementation (PR #4166 by
@lcbarcellos)
+ replace deprecated methond calls to their replacements (PR
[#4157] by @JimmyGan437)
+ feat(#4075): Improve the validation error messages (PR #4116
by @volodya-lombrozo)
* Fixed
+ Fix: issue #2751 new HashSet()" != "new HashSet<>() (PR #4183
by @lcbarcellos)
+ Fixes #2625 Add messages to thrown exceptions (PR #4177 by
@oannhpham)
+ Fix: issue 4163 Calling
MethodDeclaration.getDeclarationAsString leads to
MethodDelaration.getComment returning no comment (PR #4165 by
@jlerbsc)
+ Fix: issue 3673 isAssignableBy method StackOverflowError (PR
[#4156] by @jlerbsc)
+ fix: issue 3184 Unable to get the resolved type of class
ResolvedReferenceType from T (PR #4147 by @jlerbsc)
+ Fix: issue #3269 Test resources containing included
interfaces do not compile (PR #4139 by @jlerbsc)
+ CalculateResolvedType Type error (PR #4138 by @jlerbsc)
+ Fix: issue #4036 LeastUpperBoundLogic.lub returns null when
matches ConditionalExpr (PR #4137 by @jlerbsc)
+ Fix: issue #2484 SymbolResolver on MethodCallExpr fails if
method parameter is of kind Class<? extends y> (PR #4136 by
@jlerbsc)
* Developer Changes
+ chore(deps): bump com.google.guava:guava from 32.1.2-jre to
32.1.3-jre (PR #4154 by @dependabot[bot])
+ chore(deps): update actions/checkout action to v4 (PR #4141
by @renovate[bot])
* Thu Oct 26 2023 Fridrich Strba <fstrba@suse.com>
- Avoid incompatibilities in jdk 21 by building with release 8
* Mon Sep 11 2023 Fridrich Strba <fstrba@suse.com>
- Reproducible: don't emit timestamp by bnd-maven-plugin
* Sat Sep 09 2023 Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
* Fri Sep 01 2023 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.5
* Added
+ fix: issue 4115 ResolvedUnionType should give access to a
list of resolved types (PR #4119 by @jlerbsc)
+ Support getting more annotation default values using
reflection (PR #4103 by @freya022)
* Changed
+ Minor refactoring: Simplifies how to group deleted tokens by
extracting a method into an independent class (PR #4134 by
@jlerbsc)
+ Replace deprecated command with environment file (PR #4122 by
@70825)
+ Fixes missing named constructor in Modifier.java (PR #4092 by
@Auties00)
* Fixed
+ Fix: issue 4133 Top-level class containerType() throws an
exception instead of Optional.empty() (PR #4135 by @jlerbsc)
+ Fix: apply multiline strings (PR #4130 by @70825)
+ Fix: issue 3976 Issue resolving implicit generic types (PR
[#4128] by @jlerbsc)
+ Add unit test for PR 4091 Fixed missing permits in pretty
printer (PR #4126 by @jlerbsc)
+ Fix: issue 4124 UnsupportedOperationException: 'T' is thrown
in MethodCallExpr resolve (PR #4125 by @jlerbsc)
+ Fix: issue 4051 Switched upperBounds and lowerBounds on
ResolvedTypeP… (PR #4123 by @jlerbsc)
+ Fix failing test on JDK 17 (PR #4121 by @mahesh-hegde)
+ Fix: issue 3673 isAssignableBy method StackOverflowError (PR
[#4118] by @jlerbsc)
+ Orphan comment added when using lexical preservation is not
printed (PR #4114 by @jlerbsc)
+ Fixed missing permits in pretty printer (PR #4091 by
@Auties00)
* Developer Changes
+ chore(deps): update actions/checkout action to v3.6.0 (PR
[#4127] by @renovate[bot])
+ chore(deps): bump com.google.guava:guava from 32.1.1-jre to
32.1.2-jre (PR #4109 by @dependabot[bot])
* Uncategorised
+ Fix: issue 4104 LPP doesn't handle new switch entries well
(PR #4106 by @jlerbsc)
* Fri Jul 14 2023 Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.4
* Changed
+ Nested 'if' statements should be simplified (PR #4085 by
@jlerbsc)
+ BDD tests: migrate to JBehave 5 (PR #4028 by @valfirst)
* Fixed
+ Fix: issue 4077 After building JavaParser (with tests) on
MacOS multi… (PR #4086 by @jlerbsc)
+ fix line separators of selected test files (PR #4083 by
@abego)
+ Fix: issue 3978 typesolver can't parse in parallel (PR #4073
by @jlerbsc)
+ Fix #4056 isDeclaredInInterface() returns true for fields
declared inside enumerations contained in an interface (PR
[#4057] by @Elewyth)
+ Fix: issue 4037 ArrayIndexOutOfBoundsException throws when
method param is variadic (PR #4046 by @jlerbsc)
+ Fix: issue 4016 Failed to parse variable with name 'sealed'
or 'permits' (PR #4039 by @jlerbsc)
* Developer Changes
+ chore(deps): bump guava from 32.1.0-jre to 32.1.1-jre (PR
[#4089] by @dependabot[bot])
+ chore(deps): bump guava from 32.0.0-jre to 32.1.0-jre (PR
[#4087] by @dependabot[bot])
+ chore(deps): bump checkstyle from 10.12.0 to 10.12.1 (PR
[#4084] by @dependabot[bot])
+ chore(deps): bump versions-maven-plugin from 2.15.0 to 2.16.0
(PR #4055 by @dependabot[bot])
+ chore(deps): bump maven-release-plugin from 3.0.0 to 3.0.1
(PR #4053 by @dependabot[bot])
+ chore(deps): bump guava from 31.1-jre to 32.0.0-jre (PR #4042
by @dependabot[bot])
+ chore(deps): bump maven-dependency-plugin from 3.5.0 to 3.6.0
(PR #4035 by @dependabot[bot])
+ chore(deps): bump maven-checkstyle-plugin from 3.2.2 to 3.3.0
(PR #4033 by @dependabot[bot])
+ chore(deps): bump maven-scm-plugin from 2.0.0 to 2.0.1 (PR
[#4031] by @dependabot[bot])
+ chore(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4
(PR #4030 by @dependabot[bot])
+ chore(deps): bump build-helper-maven-plugin from 3.3.0 to
3.4.0 (PR #4026 by @dependabot[bot])
+ chore(deps): update dependency maven to v3.9.2 (PR #4024 by
@renovate[bot])