harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][logging] a test suite shouldn't touch any of JRE config files!!!
Date Wed, 30 Aug 2006 14:31:25 GMT

Andrew Zhang wrote:

> Yes, they're different. :-) Static first initialization acts differently
> from readConfiguration if you take a look at the source code. :)
> But I do agree that we should not change jre config in this way!  I suggest
> solve this problem in following way:
> 1. backup jre default logging.properties in ant before running logging 
> test.
> 2. copy test logging.properties to jre before running logging test.
> 3. restore jre config when logging test ends.

What if the test fails, leaving things in a broken state?


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