Skip to content
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

Fix ConcurrentModificationException in WatchQueueReader #3016

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

kaikreuzer
Copy link
Member

This addresses https://community.openhab.org/t/openhab-3-3-milestone-discussion/132715/220

@openhab/core-maintainers: I don't know how likely this race condition is to happen - please decide whether you consider it critical and merge it for 3.3 or leave it for later.

Signed-off-by: Kai Kreuzer kai@openhab.org

Signed-off-by: Kai Kreuzer <kai@openhab.org>
@kaikreuzer kaikreuzer added the bug An unexpected problem or unintended behavior of the Core label Jun 26, 2022
@kaikreuzer kaikreuzer requested a review from a team as a code owner June 26, 2022 14:29
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-3-3-milestone-discussion/132715/221

@J-N-K
Copy link
Member

J-N-K commented Jun 26, 2022

I believe it's not very likely, considering that we have not seen reports about that in the past (and the code didn't change for some time). But changing HashMap to ConcurrentHashMap is also a very low risk modification.

@J-N-K J-N-K merged commit 2cf875f into openhab:main Jun 26, 2022
@jlaur
Copy link
Contributor

jlaur commented Jun 26, 2022

@J-N-K - should milestone be set to 3.3?

@openhab-bot openhab-bot added this to the 3.3 milestone Jun 26, 2022
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this pull request Jul 12, 2023
Signed-off-by: Kai Kreuzer <kai@openhab.org>
GitOrigin-RevId: 2cf875f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants