Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16120
| From | glen herrmannsfeldt <gah@ugcs.caltech.edu> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: unreachable code |
| Date | 2012-07-19 22:04 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <jua09d$ceh$2@speranza.aioe.org> (permalink) |
| References | <09b77849-931d-46d9-b9b7-89441b81734e@googlegroups.com> |
bob smith <bob@coolfone.comze.com> wrote:
> Is there an easy way to tell Java not to bug me about unreachable code?
How unreachable is it?
As I understand it, the compiler is supposed to understand
if(false) { code }
and even
public static final boolean debug=false;
if(debug) code;
without complaint.
(That is, the Java replacement for C's
#if 0
#endif
)
-- glen
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
unreachable code bob smith <bob@coolfone.comze.com> - 2012-07-19 14:50 -0700
Re: unreachable code Arne Vajhøj <arne@vajhoej.dk> - 2012-07-19 18:02 -0400
Re: unreachable code glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-07-19 22:04 +0000
Re: unreachable code Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-07-19 15:06 -0700
Re: unreachable code Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-19 18:28 -0400
Re: unreachable code Cecil Westerhof <Cecil@decebal.nl> - 2012-07-21 09:47 +0200
Re: unreachable code Roedy Green <see_website@mindprod.com.invalid> - 2012-07-19 16:15 -0700
csiph-web