Skip to content

Bumps javaparser-symbol-solver-core from 3.24.4 to 3.28.2#11704

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
alexeyk/bump-java-parser-lib
Jun 23, 2026
Merged

Bumps javaparser-symbol-solver-core from 3.24.4 to 3.28.2#11704
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
alexeyk/bump-java-parser-lib

Conversation

@AlexeyKuznetsov-DD

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What Does This Do

Bumps javaparser-symbol-solver-core from 3.24.4 to 3.28.2 (released 3 week ago, so 48h cooldown compliant).

Motivation

Keep the buildSrc JavaParser dependency current with latest fixes.

Additional Notes

Noteworthy changes:

[!INFO]
No 3.24.5 tag no release page for 3.24.6, but there's a tag.

  • 3.24.6: fixed UnsolvedSymbolException when a package declaration contains a comment; bumped Javassist to 3.29.1-GA; updated Maven site/javadoc plugin metadata.
  • 3.24.7: aligned StaticJavaParser and SourceRoot parser config APIs; fixed yield parsing, final in instanceof patterns, annotation reflection class names, and lexical-preserving
    indentation.
  • 3.24.8: improved type solving with expected type arguments; added SymbolReference optional helper; fixed generic constructor resolution and lexical-preserving variable type edits.
  • 3.24.9: added TypeSolverBuilder; fixed many LexicalPreservingPrinter comment/modifier/indentation cases; fixed var type resolution in enhanced for; removed executable bits from source
    files.
  • 3.25.0: added early least-upper-bound logic, object creation type improvements, record helpers on CompilationUnit, Jigsaw requires static, and method descriptor API.
  • 3.25.1: improved functional-interface search; fixed anonymous-class type solving, generic arrays, assignability, Java 15 \s escape parsing, and lambda return type resolution.
  • 3.25.2: fixed manifest metadata, generic type conflicts, lexical preservation for lambdas/text blocks, and primitive-array assignability.
  • 3.25.4: fixed parallel TypeSolver parsing, sealed/permits variable parsing, variadic method parameter crashes, and enum/interface declaration handling.
  • 3.25.5: exposed resolved union types and more annotation default values; fixed implicit generics, bounds handling, pretty-printed permits, orphan comments, and switch-entry lexical
    preservation.
  • 3.25.6: improved validation errors; switched XML printing toward JAXP; fixed diamond operator output, exception messages, conditional LUB, wildcard class parameters, and isAssignableBy
    recursion.
  • 3.25.7: added/fixed Java 18 language-level support; changed JSON dependencies; fixed reproducible build timestamps, method-call scope recursion, symbol solver name/type confusion, and
    grammar issues.
  • 3.25.8: added cache statistics, parseArrayInitializerExpr, and AST position lookup; fixed catch parameter resolution, nested varargs object creation, Java 18 yield support, and LUB
    recursion.
  • 3.25.9: no release notes published.
  • 3.25.10: fixed generic erasure lookup, infinite cycles with static imports, ResolvedReferenceType#equals, and private interface method validation.
  • 3.26.0: added Java record patterns, switch pattern matching, and case null, default; fixed switch expressions, contextual sealed/permits, enum values, inner-class resolution, and
    varargs type calculation.
  • 3.26.1: fixed records nested in annotations, cyclic static-reference recursion, lambda method-call resolution, and switch-expression/pattern lookahead issues.
  • 3.26.2: fixed post-order iteration on childless roots, descriptor type erasure, primitive pattern types, lambda resolution NPEs, and method-call declaration resolution.
  • 3.26.3: fixed Java 16 local enum/interface support, switch-entry guard cloning, void-return handling, switch expression var compatibility, object creation resolution, and multiline
    String.format.
  • 3.26.4: fixed synthetic import ranges, lexical preservation when removing annotated parameter modifiers, and FieldAccessExpr resolution for custom classes.
  • 3.27.0: fixed a Zip Slip vulnerability; improved method reference/lambda/varargs resolution, constructor resolution, type-solver versatility, enum field handling, and lexical preservation.
  • 3.27.1: improved switch expressions; fixed lambda parameter ranges, fully qualified varargs resolution, infinite loops in DifferenceElementCalculator, duplicate XML attributes, and lambda
    body based resolution.
  • 3.28.0: added Java 23/24 support plus JEP 511, 512, 513, and 467 features; added match-all patterns; fixed method resolution, grammar ambiguities, enum valueOf, failed parse paths, and
    record reflection output.
  • 3.28.1: added switch-expression type extraction; refactored lexical preservation internals; fixed empty record patterns, compact-class comments, multi-export module-info, and Java 25
    switch/yield parsing.
  • 3.28.2: added phase-2 poly-expression inference and multi-pattern switch label validation; added OSGi support to deployable modules; fixed constructor references, wildcard matching, lambda
    inference, text blocks, and switch pattern parsing.

Contributor Checklist

  • Format the title according to the contribution guidelines
  • Assign the type: and (comp: or inst:) labels in addition to any other useful labels
  • Avoid using close, fix, or any linking keywords when referencing an issue
    Use solves instead, and assign the PR milestone to the issue
  • Update the CODEOWNERS file on source file addition, migration, or deletion
  • Update public documentation with any new configuration flags or behaviors
  • Add your completed PR to the merge queue by commenting /merge. You can also:
    • Customize the commit message associated with the merge with /merge --commit-message "..."
    • Remove your PR from the merge queue with /merge -c
    • Skip all merge queue checks with /merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level (note: the PR still needs to be mergeable, this will only skip the pre-merge build)
    • Get more information in this doc

Jira ticket: [PROJ-IDENT]

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Jun 23, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added tag: no release notes Changes to exclude from release notes tag: dependencies Dependencies related changes comp: tooling Build & Tooling labels Jun 23, 2026
return SymbolReference.solved(ReflectionFactory.typeDeclarationFor(clazz, getRoot()));
} catch (final Throwable e) {
return SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class);
return SymbolReference.unsolved();

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SymbolReference.unsolved(ResolvedReferenceTypeDeclaration.class) declared as Deprecated and internally already calling unsolved().

@Override
public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveTypeInModule(
String qualifiedModuleName, String simpleTypeName) {
return tryToSolveType(simpleTypeName);

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented new method introduced in latest version of parser. Ignored module name since the main logic is using reflection and is not using module name.

Comment thread buildSrc/build.gradle.kts

implementation("com.github.zafarkhaja:java-semver:0.10.2")
implementation("com.github.javaparser", "javaparser-symbol-solver-core", "3.24.4")
implementation(libs.javaparser.symbol.solver)

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: use value from catalog (missed usage).

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested a review from bric3 June 23, 2026 02:42
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD marked this pull request as ready for review June 23, 2026 02:42
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from a team as code owners June 23, 2026 02:42

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 73334d117b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread gradle/libs.versions.toml
@dd-octo-sts

dd-octo-sts Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 13.93 s 13.92 s [-0.7%; +0.8%] (no difference)
startup:insecure-bank:tracing:Agent 12.86 s 12.93 s [-1.2%; +0.0%] (no difference)
startup:petclinic:appsec:Agent 16.92 s 16.44 s [+1.9%; +3.9%] (significantly worse)
startup:petclinic:iast:Agent 16.78 s 16.89 s [-1.5%; +0.2%] (no difference)
startup:petclinic:profiling:Agent 16.77 s 16.89 s [-1.7%; +0.2%] (no difference)
startup:petclinic:sca:Agent 16.84 s 16.63 s [+0.4%; +2.2%] (maybe worse)
startup:petclinic:tracing:Agent 16.01 s 15.56 s [-1.4%; +7.2%] (no difference)

Commit: f839d99d · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@datadog-prod-us1-5

This comment has been minimized.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from a team as code owners June 23, 2026 03:01
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from jordan-wong and removed request for a team June 23, 2026 03:01

@bric3 bric3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

@AlexeyKuznetsov-DD

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jun 23, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-06-23 13:55:25 UTC ℹ️ Start processing command /merge


2026-06-23 13:55:30 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-06-23 15:00:14 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 2d6e0b0 into master Jun 23, 2026
585 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the alexeyk/bump-java-parser-lib branch June 23, 2026 15:00
@github-actions github-actions Bot added this to the 1.64.0 milestone Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: dependencies Dependencies related changes tag: no release notes Changes to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants