Java: handle lock state check stored in variable for java/unreleased-lock
#30055
check-change-note.yml
on: pull_request_target
check-change-note
2s