[
https://issues.apache.org/jira/browse/HTTPCORE-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731017#comment-16731017
]
Michael Osipov edited comment on HTTPCORE-565 at 12/30/18 5:00 PM:
-------------------------------------------------------------------
[~olegk], I don't doubt that the issue is real, but some context would really
help. We obviously need to use the {{lock}} object which is the class for the
{{toString()}} operation. Do we need to switch to {{ReentrantReadWriteLock}}
here?
was (Author: michael-o):
[~michael-o], I don't doubt that the issue is real, but some context would
really help. We obviously need to use the {{lock}} object which is the class
for the {{toString()}} operation. Do we need to switch to
{{ReentrantReadWriteLock}} here?
> org.apache.http.pool.AbstractConnPool toString ConcurrentModificationException
> ------------------------------------------------------------------------------
>
> Key: HTTPCORE-565
> URL: https://issues.apache.org/jira/browse/HTTPCORE-565
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 4.4.10
> Reporter: qxo
> Priority: Major
>
> {code}
> java.util.ConcurrentModificationException
> at
> java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
> at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
> at
> java.base/java.util.AbstractCollection.toString(AbstractCollection.java:472)
> at java.base/java.lang.String.valueOf(String.java:2951)
> at java.base/java.lang.StringBuilder.append(StringBuilder.java:168)
> at
> org.apache.http.pool.AbstractConnPool.toString(AbstractConnPool.java:675)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]