"Sönke Ludwig" <[email protected]> wrote in message news:[email protected]... > Another example would be synchronized classes: > > synchronized class X { > public alias f g; > private void f(){} > } > > Now g() would be a public method that is not protected by the class' > mutex. This case would have to be explicitly forbidden.
Or just cause f to be protected by the class's mutex.
