Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Endpoint object in Uima AS should declare booleans as volatile to avoid possible race conditions. Due to java memory model, an unsychronized change of a boolean value in one thread may not be visible to another thread. Declaring a boolean as volatile fixes this without requiring explicit synchronization.