-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
Google's experimental java race detector doesn't like the Sensor class, despite the use of synchronization. It appears that Sensor instances are published without synchronization. We can fix this by making all Sensor fields final or default-initialized (saving a few bytes of bytecode). Fixes a theoretical race unlikely to cause a problem in practice.