harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk" <ivan.volos...@gmail.com>
Subject Re: [classlib] logging from within our implementation
Date Tue, 30 May 2006 20:09:46 GMT
I am not sure, we can say someday: Yes, the code is absolutely bug
free! Remove the logging!

I have a suggestion, which can help leave logging in place while still
having no impact on performance. The logging can be used for debuging
of features and will be removed in release version. It require some
changes to build system though.

The idea is quite simple: we can use C preprocessor directives in java
files. When building the preprocessor will be executed before java
compiler (if the source-file's timestamp was changed). Thus we can
have logger-free release builds and debug builds with full weight


2006/5/30, Alexey Petrenko <alexey.a.petrenko@gmail.com>:
> +1
> Logging is useful on development and bugfixing stages. Since not all
> the Harmony VMs fully supports JVMDI, JMVPI or JVMTI.
> And it will be better to remove all the logging after finishing
> development/bugfixing.

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message