Fixes Issue 7903 - Public field members should not be allowed in synchronized classes.