On Thursday 26 June 2008 01:34, Daniel Cheng wrote:
> On Thu, Jun 26, 2008 at 7:55 AM,  <toad at freenetproject.org> wrote:
> > Author: toad
> > Date: 2008-06-25 23:55:31 +0000 (Wed, 25 Jun 2008)
> > New Revision: 20726
> >
> > Modified:
> >   branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
> > Log:
> > Chain activation to parent.
> >
> > Modified: 
branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
> > ===================================================================
> > --- branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java  
> >     
2008-06-25 23:32:58 UTC (rev 20725)
> > +++ branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java  
> >     
2008-06-25 23:55:31 UTC (rev 20726)
> > @@ -736,6 +736,11 @@
> >                        }
> >                }
> >
> > +               public void objectOnActivate(ObjectContainer container) {
> > +                       // Chain to containing class, since we use its 
members extensively.
> > +                       container.activate(SingleFileInserter.this, 1);
> > +               }
> > +
> >        }
> 
> ugh.
> I think you have to activate from "this" with depth, not
> SingleFileInserter.this.

After a great deal of trouble (relating to IllegalAccessException's), it does 
seem to work. You have any reason to think that activating the containing 
class won't work?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080626/3141da7a/attachment.pgp>

Reply via email to