Inconsistent access/ synchronization on Authenticator.theAuthenticator

Dawid Weiss dawid.weiss at
Mon Nov 17 09:56:12 UTC 2014

This is very minor, but has the following
static field for the default authenticator:

    private static Authenticator theAuthenticator;

This field is set from a synchronized method setDefault(..), but
accessed without proper sync from all other request* methods:

Authenticator a = theAuthenticator;
if (a == null) {
  return null;


More information about the core-libs-dev mailing list