[infinispan-issues] [JBoss JIRA] Created: (ISPN-1374) ModuleProperties ignores classloader parameter when returning cached values

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Tue Sep 6 07:32:26 EDT 2011


ModuleProperties ignores classloader parameter when returning cached values
---------------------------------------------------------------------------

                 Key: ISPN-1374
                 URL: https://issues.jboss.org/browse/ISPN-1374
             Project: Infinispan
          Issue Type: Bug
    Affects Versions: 5.0.0.FINAL
            Reporter: Sanne Grinovero
            Assignee: Manik Surtani
             Fix For: 5.1.0.ALPHA1, 5.1.0.FINAL


The class org.infinispan.util.ModuleProperties is being invoked with a classloader parameter, but will cache whatever it builds in static fields, and the cached values are returned to subsequent invocations _whatever the classloader_ being used at the new invocation.

Seems related to ISPN-1190: I think the ModuleProperties should not use static fields at all.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list