Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 27 Feb 2013 03:50:07 -0600 Date: Wed, 27 Feb 2013 09:50:06 +0000 From: lipska the kat <"nospam at neversurrender dot co dot uk"> Organization: Trollbusters 3 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Enum in Eclipse Scrapbook References: <515de149-3ee1-482d-a090-82ce264ed142@googlegroups.com> In-Reply-To: <515de149-3ee1-482d-a090-82ce264ed142@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 28 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-e3KnSHycKai0kHOXA7eGjkq34nnhiczB0G0cX1MuvUC5VpplrAgLj+y86FgGT/FoTBYZfRpFWYCYzrU!5wFuhhmpnAUeos3UszFVymaJk9Foyge5FpOGNodQsSaUQary0w62hEDOW0q1wCiN7mkt/0qiitU= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2176 Xref: csiph.com comp.lang.java.programmer:22568 On 27/02/13 05:52, Robert Mark Bram wrote: > Hi All, > > Not sure if this is a bug or if I am going a bit crazy.. Am trying to do some quick testing of enums in an Eclipse jpage Scrapbook (using JDK 1.7.0_02, Win XP 64-bit, Eclipse Juno) Hmm, this is irritating isn't it. Judging by the replies you've got in the various user forums this either appears to be a bug or a limitation with the scrapbook scrapbook pages are wrapped in a (presumably) top level class so you should apparently be able to do enum Month {JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC}; Month m; But this fails in Juno on Linux with JDK 1.7.03 Searching Eclipse bugzilla for 'Juno scrapbook' returns 0 bugs Have you considered posting this as a potential bug jeez, it's REALLY irritating. lipska -- Lipska the KatŠ: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun