diff options
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/java/java_environment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java index 1fdfdf9e3d9b..522ca8c2408b 100644 --- a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java +++ b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java @@ -206,7 +206,8 @@ public final class java_environment implements IEnvironment { // must only be called while synchronized on this Registry: private void cleanUp() { for (;;) { - Level2Entry l2 = (Level2Entry) queue.poll(); + Object tmp = queue.poll(); + Level2Entry l2 = (Level2Entry) tmp; if (l2 == null) { break; } |