[jdom-interest] BUG in Document
    Jason Hunter 
    jhunter at collab.net
       
    Mon Feb 12 09:40:12 PST 2001
    
    
  
Frank Morton wrote:
> 
> > > But, you can't do that.
> >
> > Why not?
> >
> > -jh-
> 
> You can. I was just flaking out. 
Whew.
> But the bug I originally reported is still there.
I don't see it as a bug.  If you subclass Document your subclass is
responsible for managing some of Document's internals.  We
*intentionally* don't do any work in the protected constructor because
some subclasses may not want to waste time constructing a list that may
not be used.  In other words, only a subclass that knows what it's doing
should call new Document().
-jh-
    
    
More information about the jdom-interest
mailing list