8000 added DCL pattern implementation by Anchels · Pull Request #40126 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

added DCL pattern implementation #40126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 5, 2025
Merged

Conversation

Anchels
Copy link
Contributor
@Anchels Anchels commented Jun 2, 2025

Closes #40030

Closes keycloak#40030

Signed-off-by: Anchels <mishtitov@gmail.com>
@Anchels Anchels requested a review from a team as a code owner June 2, 2025 06:39
@ahus1 ahus1 self-assigned this Jun 2, 2025
@ahus1
Copy link
Contributor
ahus1 commented Jun 2, 2025

Thank you for the PR, I'm having a look at it.

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
@ahus1
Copy link
Contributor
ahus1 commented Jun 5, 2025

@Anchels - I had a look at the PR and it looks valid.

One thing I noticed is that the volatile variable should only be assigned after it is fully initialized. Otherwise there is a risk of a race condition, and other threads might access a partially initialized instance.

Please let me know if you agree with the changes.

@Anchels
Copy link
Contributor Author
Anchels commented Jun 5, 2025

@ahus1 - I share your perspective. Thank you for your constructive feedback.

@ahus1 ahus1 merged commit 1fe7829 into keycloak:main Jun 5, 2025
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential thread safety Issue with lazy init of transformerFactory at TransformerUtil. SAST
2 participants
0