Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: Java processors Date: Sat, 21 Jul 2012 14:10:48 -0400 Organization: A noiseless patient Spider Lines: 31 Message-ID: References: <5f101d00-4bc9-4750-939c-cd53605bfa0e@googlegroups.com> <4ff6318d$0$283$14726298@news.sunsite.dk> <9diev791cc84tsljqusgl14shpseba19o7@4ax.com> <89ca24f7-0bf9-4d4b-be91-ef131989c4c9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 21 Jul 2012 18:10:54 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="d3779b2c4a3397eb5709eec94bad057a"; logging-data="27442"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jQUm7GjFnbLfXiclM/OtM" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: Cancel-Lock: sha1:MCQB0hPqBOgocPLPg1/RzSK69Xs= Xref: csiph.com comp.lang.java.programmer:16197 On 7/21/2012 1:23 PM, Wanja Gayk wrote: > In article , esosman@ieee-dot-org.invalid > says... > >>>> Sounds to me like you could be misinterpreting that, Roedy. It says >>>> "method... running in a loop". Not: loop running in a method. >>> >>> Which loop is not running in a method? >> >> class Clown { >> static { >> while(true) System.out.println("This one."); >> } >> } > > Which, from a VM point of view, is nothing else than an anonymous static > initializer method. I hadn't thought it necessary to be so explicit, but okay: class Clown { static { while(true) System.out.println(":)"); } } (Sigh.) -- Eric Sosman esosman@ieee-dot-org.invalid