Skip to content

ISSUE-2833: Avoid using mutable singleton visitor in ResultVariableFactory - #2835

Merged
arjantijms merged 1 commit into
eclipse-ee4j:masterfrom
adamsaghy:ISSUE-2833-5.0
Sep 22, 2026
Merged

arjantijms merged 1 commit into
eclipse-ee4j:masterfrom
adamsaghy:ISSUE-2833-5.0

Conversation

@adamsaghy

Copy link
Copy Markdown
Contributor

Issue:

#2833

Fix:

Avoid using mutable, singleton visitor in the factory class

Each buildExpression() invocation creates its own SelectClauseVisitor, so concurrent JPQL parses cannot overwrite an another parse’s supported state.

@robertpatrick

Copy link
Copy Markdown

@arjantijms LGTM

@arjantijms arjantijms added the 5.0 label Sep 22, 2026
@arjantijms arjantijms added this to the 5.0.2 milestone Sep 22, 2026
@arjantijms
arjantijms merged commit 0f3d6e2 into eclipse-ee4j:master Sep 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants