Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-6

Repository#lookupClass no longer returns JavaClasses added with Repository#add

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.1
    • Main
    • None

    Description

      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) verifying classes hold in memory

      Attachments

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            schneidp@lathanda.de Peter Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: