The synchronization monitor will be released: "If the body is completed, as usual, or suddenly, the unlock action is automatically performed on the same monitor." The Java Language Specification 17.1. Sync
Other threads will be able to continue synchronization and call wait and notify.
If an exception thread contains some critical program logic resource, you may need to use try-finally to ensure that it is freed.
source share