dev@grizzly.java.net

parameters in ServletContextImpl.

From: gustav trede <gustav.trede_at_gmail.com>
Date: Tue, 13 Jan 2009 23:31:35 +0100

salut,

ServletContextImpl.parameters is accessable in a non threadsafe way and im
sure unintended way from the public access methods in the ServletAdapter.

I think the correct way is to clone the map when its set on the servletimpl
?.

anyhow parameters and attributes in ServletContextImpl i will change to
concurrenthashmap, thats alot better then synchronized.

im looking through alot of code to learn grizzly.
i create issues for each class i do changes too. i only do low risk changes
since i dont have a private branch.


-- 
your servant
 gustav trede
coding is art - not only something that  bring food on the table,
everybody should be able to feel proud about their code,
that they have performed their best considering the given conditions.