Java proxy InvocationHandler's parameterTypeCache should be thread-safe
------------------------------------------------------------------------
Key: JRUBY-1043
URL: http://jira.codehaus.org/browse/JRUBY-1043
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.0.0RC2
Reporter: Jonathan Paisley
Priority: Minor
Attachments: new_proxy_instance_concurrent_hash_map.diff
The parameterTypeCache HashMap used by the InvocationHandler in
Java.new_proxy_instance may be accessed concurrently by multiple threads so
should be thread-safe.
Attached patch converts it to a ConcurrentHashMap.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email