avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11567] New: - discardValidity() isn't called in SourceResource
Date Thu, 08 Aug 2002 17:36:16 GMT
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=11567>.
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=11567

discardValidity() isn't called in SourceResource

           Summary: discardValidity() isn't called in SourceResource
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Excalibur
        AssignedTo: avalon-dev@jakarta.apache.org
        ReportedBy: mschier@bsquare.com


org.apache.avalon.excalibur.monitor.SourceResource. 
Currently the lastModified() method gets the validity from the source object, 
which caches the validity inside itself and does not refresh until 
discardValidity() is called.  To monitor the source the validity should be 
updated every time the monitor thread runs.  Because of this, I think,
a call to discardValidity() is needed at some point. I am going to attach a 
patch, which adds this call to the class...

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message