From owner-freebsd-java Fri Mar 23 6: 1:53 2001 Delivered-To: freebsd-java@freebsd.org Received: from exch01.projectseneca.com (w186.z208036141.was-dc.dsl.cnc.net [208.36.141.186]) by hub.freebsd.org (Postfix) with ESMTP id E433337B728 for ; Fri, 23 Mar 2001 06:01:49 -0800 (PST) (envelope-from brian@parabon.com) Received: from parabon.com (limestone.projectseneca.com [192.168.0.105]) by exch01.projectseneca.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id G4CCT32D; Fri, 23 Mar 2001 09:01:48 -0500 Message-ID: <3ABB574C.AD75BCA6@parabon.com> Date: Fri, 23 Mar 2001 09:01:48 -0500 From: "Brian J. Sletten" Organization: Parabon Computation, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Thomas T. Veldhouse" Cc: Todd Enersen , freebsd-java@freebsd.org Subject: Re: possible bug in port of javac References: <3ABA5AC3.CA8F09DD@fireclick.com> <005d01c0b341$5cedac20$1d750140@cascade> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > When you declare something final, aren't you supposed to supply an initializer? I believe > this is analgous to const int m_maxValuesPerName = 10 in C++. That is how it is usually used, but it needn't be initialized at that point. You might also initialize it either in a static block (if it is a final static) or in the constructors. The key is that it can only be assigned to once. -- Self-discovery is useless unless I discover I am somebody else. -- Dan Goodman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message