Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-293

getDatastore use Class.forName() when use String parameters for dataStoreClass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • gora-core
    • None

    Description

      Following Ioannis Canellos advice I digged deeper in the code and realised that in DataStoreFactory in the getDatastore with signature using String arguments the keyClass and persistentClass are loaded through ClassLoadingUtils while dataStoreClass try to do so with Class.forName.

      Attachments

        1. classloadingutils.diff
          1 kB
          Ioannis Polyzos
        2. classloadingutils-2.patch
          1 kB
          Ioannis Polyzos

        Activity

          People

            ipolyzos Ioannis Polyzos
            ipolyzos Ioannis Polyzos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: