commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Vivoda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JXPATH-152) Concurrent access on hashmap of JXPathIntrospector
Date Sat, 04 Jul 2015 18:14:04 GMT

    [ https://issues.apache.org/jira/browse/JXPATH-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613991#comment-14613991
] 

Michele Vivoda commented on JXPATH-152:
---------------------------------------

1.4 snapshot is here https://github.com/apache/commons-jxpath

> Concurrent access on hashmap of JXPathIntrospector
> --------------------------------------------------
>
>                 Key: JXPATH-152
>                 URL: https://issues.apache.org/jira/browse/JXPATH-152
>             Project: Commons JXPath
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Java5, Windows/AIX
>            Reporter: pleutre
>            Assignee: Matt Benson
>            Priority: Minor
>             Fix For: 1.4
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> JXPathIntrospector.registerDynamicClass method can be called in static part of classes.

> If two classes A & B try to registerDynamicClass in the same time a concurrent access
exception can append on hashmap of JXPathIntrospector.
> Replace hashmap by concurrent hashmap or synchronized access to these hashmaps.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message