DO NOT REPLY [Bug 10517] New: - Repository#lookupClass no longer returns JavaClasses added with Repository#add
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <[email protected]> |
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=10517>.
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=10517
Repository#lookupClass no longer returns JavaClasses added with Repository#add
Summary: Repository#lookupClass no longer returns JavaClasses
added with Repository#add
Product: BCEL
Version: 5.0RC1
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
This call is delegated to SyntheticRepostitory loadClass. This method doesn't
check for loaded classes. This prevents memory only JavaClass's to be verified.
Repository#add adds such JavaClass's to the loaded classes hash, but the
validator only calls lookupClass.
one of the two has to check for loaded classes, for two reasons.
a) performance
b) verifing classes hold in memory