To illustrate the point I'm trying to make:

org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon line 240:

protected ClientConnectionManager clientConnectionManager = new
SingleClientConnManager();

Now read the docs for SingleClientConnManager (annotated as @ThreadSafe!):

"Even though this class is thread-safe it ought to be used by one
execution thread only"

This "ought to" means that it's probably unwise to handoff such an
instance to a different thread down the line, which we do. So it does
not support serial thread confinement. It makes me wonder about the
@ThreadSafe annotation....

Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to