commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BCEL-6) Repository#lookupClass no longer returns JavaClasses added with Repository#add
Date Thu, 24 Apr 2014 13:22:18 GMT

     [ https://issues.apache.org/jira/browse/BCEL-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg updated BCEL-6:
------------------------------

      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

  was:
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

         Priority: Major
      Environment:     (was: Operating System: other
Platform: All)
    Fix Version/s: 5.1
         Priority:   (was: P3)
         Severity:   (was: normal)

> Repository#lookupClass no longer returns JavaClasses added with Repository#add
> ------------------------------------------------------------------------------
>
>                 Key: BCEL-6
>                 URL: https://issues.apache.org/jira/browse/BCEL-6
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.0
>            Reporter: Peter Schneider
>            Assignee: Apache Commons Developers
>             Fix For: 5.1
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message