Article View: borland.public.jbuilder.java.language
Article #8451Re: Is "return super;" a valid statement
From: Ralph Quapp
Date: Wed, 21 Mar 2001 17:38
Date: Wed, 21 Mar 2001 17:38
22 lines
1509 bytes
1509 bytes
Hei, checked the last thing, and JBuilder generates the same bytecode for 'return this' as for 'return super'. Ralph "Torsten Welches" <torsten.welches@who.cares.netcologne.de> wrote in message news:3ab76014$1_1@dnews... > > >The question is now, should the compiler issue some warning or > >not. > > Your original code is illegal, so the compiler should issue an > error. > > >I am wondering what kind of bytecode JBuilder generates. > >How can I see that? > > javap -c is for that. > > Torsten
Technical Details
Message-ID:
<3ab8e799$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!63.197.90.11References:
<3ab26402$1_1@dnews> <MPG.151cdabe37c2b74f98a084@forums.borland.com> <MPG.151df2148cd2b2f398a08a@forums.borland.com> <3ab6816f_1@dnews> <3ab76014$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a2b6df84216d25a2 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-23 04:04:08 PST From: "Ralph Quapp" <-> Newsgroups: borland.public.jbuilder.java.language References: <3ab26402$1_1@dnews> <MPG.151cdabe37c2b74f98a084@forums.borland.com> <MPG.151df2148cd2b2f398a08a@forums.borland.com> <3ab6816f_1@dnews> <3ab76014$1_1@dnews> Subject: Re: Is "return super;" a valid statement Date: Wed, 21 Mar 2001 09:38:07 -0800 Lines: 24 Organization: Alcatel Carrier Internetworking Division X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 63.197.90.11 Message-ID: <3ab8e799$1_2@dnews> X-Trace: 21 Mar 2001 09:40:41 -0800, 63.197.90.11 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!63.197.90.11