DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11363>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11363

DefaultConfigurationSerializer doesn't close output stream after serializing

           Summary: DefaultConfigurationSerializer doesn't close output
                    stream after serializing
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the class 
org.apache.avalon.framework.configuration.DefaultConfigurationSerializer 
the "serializeToFile(File file)" method doesn't close output stream after 
serialization. It means that after serialization the file is blocked.
The workaround is to use "serialize(OutputStream stream, Configuration conf)" 
instead and close the stream manually.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to