You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/09/17 12:11:55 UTC
DO NOT REPLY [Bug 12728] New: -
Cache Bug in the PropertyUtils.java line 889
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=12728>.
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=12728
Cache Bug in the PropertyUtils.java line 889
Summary: Cache Bug in the PropertyUtils.java line 889
Product: Commons
Version: 1.4 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Bean Utilities
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: a.merk@gmx.de
i looked through the code of the BeanUtils 1.4.1 and found a bug in the
file "PropertyUtils.java" line 889. These statement is may be not correct. For
my understanding it should be :
if (result != null) {
// mappedDescriptorsCache.put(name, result); // the old code
// begin my code
if (mappedDescriptors == null) {
mappedDescriptors = FastHashMap();
mappedDescriptors.setFast(true);
mappedDescriptorsCache.put(bean,mappedDescriptors);
}
mappedDescriptors.put(name,result);
// end my code
}
i looked also in the nightly build, but there was the same code.
regards
alexander
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>