Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8181222

unreachable proxy server causes ConcurrentModificationException

    Details

    • Introduced In Build:
      b127
    • Introduced In Version:
      9
    • Resolved In Build:
      b175
    • Verification:
      Verified

      Backports

        Description

        This is a regression in JDK9.
        Due to a change in DynamicProxyManager caused by warning cleanup (JDK-JDK-8156586) when a proxy is removed from the ProxyCache we usually get a java.util.ConcurrentModificationException.
        We are returning (from getProxyList()) the cached List of proxys instead of a clone of it.
        fix is trivial:
                 List<Proxy> dup = new ArrayList<Proxy>();
        - dup = pInfo;
        + dup.addAll(pInfo);
                 return dup;

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  herrick Andy Herrick
                  Reporter:
                  herrick Andy Herrick
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: