https://issues.apache.org/bugzilla/show_bug.cgi?id=55317

--- Comment #18 from Jeremy Boynes <jboy...@apache.org> ---
1) CopyOnWriteArrayList would simplify managing added transformers and is
intended for this use-case.

2) I would not try to de-dupe the list at all. There's no contract around
equals() for transformers and this will be different from how JRE's
Instrumentation manages them.

3) You're applying the transformers in findResourceInternal() which, I think,
means getResource() will return transformed data. The transform should be moved
into findClass() so only defined classes are transformed.

4) In the messages, we typically wrap [] around the substituted values i.e.
[{0}]

-- 
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