You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/09/16 15:45:13 UTC
DO NOT REPLY [Bug 47851] New: thread-safety issues in the TC native
Java code
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: dev@tomcat.apache.org
ReportedBy: sebb@apache.org
[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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 47851] thread-safety issues in the TC native Java
code
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47851
jfclere <jf...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from jfclere <jf...@gmail.com> 2011-01-06 09:14:44 EST ---
the APR_ANYADDR = "0.0.0.0" is OK. the rest wrong.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org