https://issues.apache.org/bugzilla/show_bug.cgi?id=47851
Summary: thread-safety issues in the TC native Java code
Product: Tomcat Native
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Library
AssignedTo: [email protected]
ReportedBy: [email protected]
[This is from branches/1.1x]
There are some thread-safety issues in the TC native Java code, for example:
public class Address {
static public String APR_ANYADDR = "0.0.0.0";
The above String is presumably intended to be a constant, immutable field, but
is not marked final.
jni.Library._instance is used as a cache, but access is not synch. and the
field is not volatile.
The Library class has lots of public static fields which are not final, e.g.
jni.Library.APR_IS_DEV_VERSION
jni.Library.APR_HAVE_IPV6
--
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]