Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
ResizableDoubleArray has several synchronised methods, but is not thread-safe, because class variables are not always accessed using the lock.
Is the class supposed to be thread-safe?
If so, all accesses (read and write) need to be synch.
If not, the synch. qualifiers could be dropped.
In any case, the protected fields need to be made private.
Attachments
Attachments
Issue Links
- is related to
-
MATH-894 Cleanup of "ResizableDoubleArray" ("o.a.c.m.util")
- Resolved