You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When locking on the class object the bug SSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA is reported. Locking on the class object should be the same as creating a static object to lock on as there is only a single instance of the class object.
M C SSD: Static field "StaticMethodLock.getNextDBCount()" is modified by an instance level StaticMethodLock.getNextDBCount(). At StaticMethodLock.java:[line 7]
Using SpogBugs 4.6.0 with gradle plugin 5.0.5.
java -version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17.0.2+8-Ubuntu-120.04, mixed mode, sharing)
The text was updated successfully, but these errors were encountered:
jpschewe
added a commit
to jpschewe/fll-sw
that referenced
this issue
Mar 12, 2022
When locking on the class object the bug SSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA is reported. Locking on the class object should be the same as creating a static object to lock on as there is only a single instance of the class object.
Reports
Using SpogBugs 4.6.0 with gradle plugin 5.0.5.
The text was updated successfully, but these errors were encountered: