Modify ↓
#11250 closed defect (fixed)
[Patch] User#userMap is not synchronized
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.03 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
This should not trigger often, but if it does, it might screw things up a lot (since HashMap is not synchronized itself).
Attachments (1)
Change History (8)
comment:1 Changed 9 years ago by
Changed 9 years ago by
Attachment: | 0001-Made-user-map-synchronized.patch added |
---|
comment:7 Changed 9 years ago by
Milestone: | → 15.03 |
---|
Note: See
TracTickets for help on using
tickets.
Yes, this looks unsafe. Why not simply add a
synchronized
modifier for the methods?