Synchronized classes have no public members
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 16 00:02:54 PDT 2015
On 2015-10-16 08:49, Dicebot wrote:
> As far as I understand topic is about deprecating direct field access of
> synchronized classes, method calls in synhronized classes and
> `synchronized () {}` blocks will remain untouched.
Is it even possible to do synchronized classes in Java? That is, but
synchronized on the class declaration as in D.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list