This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A java DEBUG flag


Tom Tromey <tromey@cygnus.com> writes:

> >>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
> 
> Bryce> I propose an interface (this ensures that only constants can be
> Bryce> defined) called gnu.classpath.Flags (or CompileSettings?
> Bryce> DebugFlags?)
> 
> Maybe `Configuration'?
> 
>     if (Configuration.DEBUG) { ... }
> 
> Bryce> Comments?
> 
> Sounds like a good idea to me.

Seems like a good idea to me.  Will you be modifying the configure
system so that the debugging can be toggled (--enable-debugging) or
should I?  

Brian
-- 
Brian Jones <cbj@gnu.org>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]