DO NOT REPLY [Bug 34410] - [configuration] ConfigurationFactory auto save overwrites properties file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 34410] - [configuration] ConfigurationFactory auto save overwrites properties file

Bugzilla from bugzilla@apache.org
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 [hidden email]  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: [hidden email]
For additional commands, e-mail: [hidden email]