commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34410] - [configuration] ConfigurationFactory auto save overwrites properties file
Date Sat, 07 May 2005 15:29:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34410>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34410





------- Additional Comments From oliver.heger@t-online.de  2005-05-07 17:29 -------
Created an attachment (id=14961)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14961&action=view)
Unit test for loading a PropertiesConfiguration with enabled auto save

The attached unit test shows the heart of the bug: the combination of enabled
auto save flag and the load() method of PropertiesConfiguration.

On my system (Win XP) this test causes an endless loop, but this may depend on
the platform and factors like default sizes of the used buffered streams. Fact
is that the properties file is overwritten while it is being loaded, which will
cause unpredictable behavior.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message