https://issues.apache.org/bugzilla/show_bug.cgi?id=46990
Summary: Synchronize target cannot be changed midway
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23455)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23455)
Fix broken synchronization
Various classes synchronize on a variable which is then changed. This will not
have the desired effect, as all accesses must use the same lock in order for
the synchronisation to work correctly.
The patch adds new final lock objects (which cannot be changed midway).
It also adds some additional synchronization to various get() methods to ensure
that reader threads get the correct updates.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]