Article View: borland.public.jbuilder.java.language
Article #15424Re: Read please
From: Rich Wilkman
Date: Thu, 17 Jun 1999 00:00
Date: Thu, 17 Jun 1999 00:00
136 lines
4870 bytes
4870 bytes
Josh:
It may have been handled in the TeamB section, it's a problem in the
debugger and I believe removing the redundant implements took care of
it. I can't tell you where, exactly, because this particular issue got
crossposted on different days.
-Rich
"Josh Fletcher (borland.com)" wrote:
>
> Rich,
>
> What was handled? When/where was it handeled? Has the thread already
> been deleted?
>
> What I really need to know is (for the customer) is this a bug in
> debugger or is he just expecting the wrong thing?
>
> Thanks,
>
> Josh
>
> Rich Wilkman wrote:
> >
> > Josh:
> >
> > This has already been handled in the ng. I think the only thing "wrong"
> > was the unnecessary re-implementation of an interface that was already
> > implemented by a class higher on the hierarchy.
> >
> > -Rich
> >
> > "Josh Fletcher (borland.com)" wrote:
> > >
> > > Hi y'all,
> > >
> > > Trying to process a bug report and was wondering if some of you Java
> > > Gurus could look at this code snippet that the user submitted. Is there
> > > anything inherently wrong with it (besides the fact that the parameter
> > > to System.out.println is invalid)? Description follows.
> > >
> > > =====
> > > package test;
> > > import javax.swing.tree.*;
> > >
> > > interface TENode extends MutableTreeNode, Cloneable
> > > {
> > > }
> > >
> > > abstract class AbstractTENode extends DefaultMutableTreeNode implements
> > > TENode
> > > {
> > > }
> > >
> > > public class MyClass1 extends DefaultMutableTreeNode //AbstractTENode
> > > /* If MyClass1 extends DefaultMutableTreeNode the data members from
> > > DefaultMutableTreeNode can be seen in the debugger. If, instead,
> > > MyClass1 extends AbstractTENode, the members can not be seen. The
> > > question is, should they be visible? */
> > > {
> > > public MyClass1()
> > > {
> > > }
> > >
> > > public static void main(String[] args)
> > > {
> > > MyClass1 myclass1 = new MyClass1();
> > > System.out.println("myclass1:" + myclass1); /* breakpoint */
> > > }
> > > }
> > > =====
> > >
> > > Note the comment under MyClass1. This describes what the user wants to
> > > do. The question I have is:
> > >
> > > 1. Should this work, in terms of the debugger? IOW would Java allow it,
> > > and therefore if the debugger doesn't we should fix it?
> > >
> > > 2. In general, it seems that using and abstract class to implement
> > > another abstract class (the interface) is a little wierd. It's as if he
> > > is trying to get multiple inheritance or something. Am I wrong here?
> > >
> > > Thanks for any help!!!
> > >
> > > Josh
> > >
> > > --
> > > Josh Fletcher
> > > JBuilder Developer Support
> > >
> > > jfletcher@borland.com
> > > http://www.borland.com/devsupport/disclaim.html
> > >
> > > Mail sent to me from the newsgroups won't bounce but will
> > > be ignored. Please confine your posts to the newsgroups.
> >
> > --
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Rich Wilkman
> > Senior Quality Assurance Engineer
> > Borland JBuilder Team
> >
> > If you see something that looks like an opinion up there,
> > it's mine and mine alone.
> >
> > Mail sent to me from the newsgroups won't bounce but will
> > be ignored. If I have time, I'll respond, but you have
> > a better chance if you confine your posts to the newsgroups
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> Josh Fletcher
> JBuilder Developer Support
>
> jfletcher@borland.com
> http://www.borland.com/devsupport/disclaim.html
>
> Mail sent to me from the newsgroups won't bounce but will
> be ignored. Please confine your posts to the newsgroups.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team
If you see something that looks like an opinion up there,
it's mine and mine alone.
Mail sent to me from the newsgroups won't bounce but will
be ignored. If I have time, I'll respond, but you have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<37699894.6892EE2A@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37681B7A.A31F5643@borland.com> <37681CB3.6B53E71D@inprise.com> <37691C41.310C56F7@borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ca6e3bdb41ee3e6e X-Google-Attributes: gidf74b3,public From: Rich Wilkman <rwilkman@inprise.com> Subject: Re: Read please Date: 1999/06/17 Message-ID: <37699894.6892EE2A@inprise.com> X-Deja-AN: 490886773 Content-Transfer-Encoding: 7bit References: <37681B7A.A31F5643@borland.com> <37681CB3.6B53E71D@inprise.com> <37691C41.310C56F7@borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language