https://bz.apache.org/bugzilla/show_bug.cgi?id=60645

--- Comment #4 from ba...@semedy.com ---
(In reply to Christopher Schultz from comment #3)
> Could this class have been written as a subclass of StatementFinalizer that
> simply overrides all the methods with synchronized versions and delegates to
> the superclass? That would be less code to maintain.

The new StatementFinalizer class also replaces the LinkedList with an ArrayList
(but this is not the important change - I think it would also be okay if you
would keep the original LinkedList implementation).

But why would you want to keep both the original StatementFinalizer class and
the thread-safe StatementFinalizer class? I think it would be really good to
have just one StatementFinalizer class which is thread-safe.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to