...
Because the doSomething()
method fails to check if str
is null, a runtime exception can occur, preventing the lock from being released.
...
...
Because the doSomething()
method fails to check if str
is null, a runtime exception can occur, preventing the lock from being released.
...