Hi Deepal,

So is it required to have the ability to store null key/values in the
properties map in AbstractContext.java? If not is it ok to change it into
ConcurrentHashMap which does not allow to put null key/values.

Thanks


On Thu, Feb 6, 2014 at 11:17 AM, Deepal jayasinghe <[email protected]>wrote:

>  Hi Vimesh,
>
> Open a JIRA issue and attach a patch, one of us should be able to fix the
> issue.
>
> Deepal
>
>  Hi,
>
>  I am using axis2-1.6.1 and here is my question.
> We can modify HashMap into ConcurrentHashMap in
> /modules/kernel/src/org/apache/axis2/context/AbstractContext.java in order
> to access that map concurrently. But there is a test case called
> ContextPropertiesExternalizeTest.java which puts null key/values to the
> map. But since modified ConcurrentHashMap does not allow to put null
> key/values it leads to fail.
> So could you please let me know the intention of testing with null
> key/values there.
>
>  Thanks
>
>  --
> Vimesh Gihan Samarawickrama
> Undergraduate
> Department of Computer Science & Engineering
> University of Moratuwa
> Sri Lanka
>
>
>


-- 
Vimesh Gihan Samarawickrama
Undergraduate
Department of Computer Science & Engineering
University of Moratuwa
Sri Lanka

Reply via email to