diff options
author | Kay Ramme <kr@openoffice.org> | 2001-10-24 10:16:00 +0000 |
---|---|---|
committer | Kay Ramme <kr@openoffice.org> | 2001-10-24 10:16:00 +0000 |
commit | 33f720bd981cd4f123e016cd7738e125e7f5bd4d (patch) | |
tree | 44deb6c8d59b01c15289c3153e17778c945251dd /sandbox/com/sun/star/lib | |
parent | c3e03390f276bd28eb34783b18b30cfd532f5f67 (diff) |
java bug in 1.3, workarounded by dropping resource holding (#87146#)
Diffstat (limited to 'sandbox/com/sun/star/lib')
-rw-r--r-- | sandbox/com/sun/star/lib/sandbox/ResourceProxy.java | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sandbox/com/sun/star/lib/sandbox/ResourceProxy.java b/sandbox/com/sun/star/lib/sandbox/ResourceProxy.java index 8f55479b0190..737154c1d569 100644 --- a/sandbox/com/sun/star/lib/sandbox/ResourceProxy.java +++ b/sandbox/com/sun/star/lib/sandbox/ResourceProxy.java @@ -2,9 +2,9 @@ * * $RCSfile: ResourceProxy.java,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:24:28 $ + * last change: $Author: kr $ $Date: 2001-10-24 11:16:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -208,12 +208,18 @@ public class ResourceProxy implements Resource, Cachable { } public synchronized ImageProducer getImageProducer() { + Thread.currentThread().dumpStack(); + ImageProducer imageProducer = resource.getImageProducer(); - imageProducer = new ImageProducerProxy(imageProducer); - Holder holder = (Holder)imageProducer; - holder.addCargo(this); + // This is due to a stupid bug in ImageConsumerQueue, + // which seems to be introduced in jdk1.3, which + // forbids me to use my own ImageProducer implementation. +// imageProducer = new ImageProducerProxy(imageProducer); + +// Holder holder = (Holder)imageProducer; +// holder.addCargo(this); return imageProducer; } |