Inspectopedia
 
2024.3

Unsynchronized method overrides 'synchronized' method

Warning
New
Last modified: 03 December 2024

Reports non-synchronized methods overriding synchronized methods.

The overridden method will not be automatically synchronized if the superclass method is declared as synchronized. This may result in unexpected race conditions when using the subclass.

Example: