Re: Inconsistent access/ synchronization on Authenticator.theAuthenticator

2014-11-17 Thread Dawid Weiss
Thanks Aleksey. Can't file Jira issues myself, unfortunately; holding my word to Rory's promise that there will be a public Jira subscription access at some point -- it'd help a lot for those who wish to track changes on issues and currently have to do it manually. Dawid On Mon, Nov 17, 2014 at 1

Re: Inconsistent access/ synchronization on Authenticator.theAuthenticator

2014-11-17 Thread Aleksey Shipilev
On 11/17/2014 12:56 PM, Dawid Weiss wrote: > This is very minor, but java.net.Authenticator has the following > static field for the default authenticator: > > private static Authenticator theAuthenticator; > > This field is set from a synchronized method setDefault(..), but > accessed withou

Inconsistent access/ synchronization on Authenticator.theAuthenticator

2014-11-17 Thread Dawid Weiss
This is very minor, but java.net.Authenticator 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: Authentic