Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-234

ClassLoading issues with two classes in different packages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M29
    • Fix Version/s: 1.0.0-M30
    • Labels:
      None

      Description

      The StandaloneLdapApiService class extends the DefaultLdapCodecService class, which has a few protected fields. The pb is that the two classes are in two different OSGi plugins, so when the child class tries to access the protected fields, the classLoader fails.

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -

        Fixed with http://svn.apache.org/r1675736.

        The fields are now private, and I have added public getters and setters for them.

        Has Stefan noted, the StandaloneLdapApiService class should not be used.

        Show
        elecharny Emmanuel Lecharny added a comment - Fixed with http://svn.apache.org/r1675736 . The fields are now private, and I have added public getters and setters for them. Has Stefan noted, the StandaloneLdapApiService class should not be used.

          People

          • Assignee:
            Unassigned
            Reporter:
            elecharny Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development