https://issues.apache.org/bugzilla/show_bug.cgi?id=50232

           Summary: org.apache.catalina.session.StoreBase has a hidden
                    dependency on PersistentManager
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=26270)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26270)
Removes hidden dependency on PersistentStore

StoreBase.java depends explicitly on the Manager interface, however, it later
casts the manager object to the PersistentManager class with out any check.

This removes that dependency, therefore allowing the usage of this store with
any manager that does not extend PersistentManager.

I will later attach a path that removes the offending isLoaded() method as that
may induce the same problem further along...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to