Can Synchronizing on a Local Variable in Java Actually Acquire a Lock?
This article revisits a recent poll on MySQL field length, then presents a Java code example that uses the synchronized keyword on a locally created String variable, asking readers to determine whether this approach truly provides locking, and invites discussion on Java concurrency semantics.
