Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18367
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2012-08-28 15:25 -0700 |
| References | <9b4cce4e-99b1-414f-a033-1acf9200e90a@googlegroups.com> <2r4q38p3790lc86fpttn4arc58m5m1tjen@4ax.com> <3926176c-0940-4080-95a1-fb67bbbec50e@googlegroups.com> <aa4sm3FtuvU1@mid.individual.net> |
| Message-ID | <e1808943-1586-45e0-85e4-97ae9df6f738@googlegroups.com> (permalink) |
| Subject | Re: startup code |
| From | Lew <lewbloch@gmail.com> |
Robert Klemme wrote: > Lew wrote: > ... >> The class init block won't run until the class is initialized (not necessarily >> when it's loaded). This can be quite a while after the program starts "up". >> It can even be quite a while after the class is loaded. > > Still it is often early enough, i.e. before instances of the very class > get to do their work. "Early enough" depends on whether the OP wants what they literally asked for, something that happens at program start, or the more relaxed requirement of before the class is otherwise used. > Bob, what are you trying to accomplish? Or is this more like a homework > question? Bob, this is a key question Robert asks. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
startup code bob smith <bob@coolfone.comze.com> - 2012-08-28 11:48 -0700
Re: startup code Roedy Green <see_website@mindprod.com.invalid> - 2012-08-28 11:53 -0700
Re: startup code Lew <lewbloch@gmail.com> - 2012-08-28 14:00 -0700
Re: startup code Robert Klemme <shortcutter@googlemail.com> - 2012-08-28 23:48 +0200
Re: startup code Lew <lewbloch@gmail.com> - 2012-08-28 15:25 -0700
Re: startup code Patricia Shanahan <pats@acm.org> - 2012-08-29 08:27 -0700
Re: startup code bob smith <bob@coolfone.comze.com> - 2012-08-29 11:18 -0700
Re: startup code Patricia Shanahan <pats@acm.org> - 2012-08-29 11:58 -0700
Re: startup code Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-29 15:41 -0400
Re: startup code Lew <lewbloch@gmail.com> - 2012-08-29 13:04 -0700
Re: startup code Robert Klemme <shortcutter@googlemail.com> - 2012-08-29 22:06 +0200
Re: startup code Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-29 17:14 -0400
Re: startup code Roedy Green <see_website@mindprod.com.invalid> - 2012-08-29 00:21 -0700
Re: startup code Patricia Shanahan <pats@acm.org> - 2012-08-29 02:42 -0700
Re: startup code Patricia Shanahan <pats@acm.org> - 2012-08-29 02:54 -0700
Re: startup code Arne Vajhøj <arne@vajhoej.dk> - 2012-08-28 19:20 -0400
Re: startup code Jeff Higgins <jeff@invalid.invalid> - 2012-08-28 15:22 -0400
Re: startup code Arne Vajhøj <arne@vajhoej.dk> - 2012-08-28 19:19 -0400
csiph-web