diff options
author | Damjan Jovanovic <damjan@apache.org> | 2017-09-08 02:17:19 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-13 10:16:18 +0200 |
commit | 1963dc64554a8b64c229ddd72bc615f3e736731a (patch) | |
tree | 00c842d03b79ebaecdb447ae27b193c1e47160ec /basic | |
parent | 5c0bb1088a678d36309866c4eee43e58901f6b7b (diff) |
Fix a locking bug in our Java ComponentBase class, where after the transition
to disposed, the relevant variables (bDisposed and bInDispose) are written to
outside a synchronized block.
The equivalent C++ implementation in main/cppuhelper/source/implbase.cxx,
method WeakComponentImplHelperBase::dispose(), already does this.
Patch by: me
(cherry picked from commit 2d382cef5450cf1593322184649257d3666cbbd8)
Change-Id: I6c3e2ef78bc3c945245fe9fb7b6b713eb83710be
Reviewed-on: https://gerrit.libreoffice.org/42189
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic')
0 files changed, 0 insertions, 0 deletions