Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13643

ResponseBuilder should provide accessors/setters for analytics response handling

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Done
    • 8.1.1
    • 8.3
    • Response Writers
    • None

    Description

      Right now inside o.a.s.h.c.AnalyticsComponent.java, fields inside ResponseBuilder are accessed directly.  Since they're in the same package, this is OK at compile tie.  But when the Solr core and Analytics jars are loaded at runtime by Solr, they are done by different classloaders, which causes an IllegalAccessError during request handling.  There must be soething different about y setup which is why I am running into this, but it seems like a good idea to abstract away the fields behinds setters/getters anyway.

       

       

      Attachments

        1. SOLR-13643.patch
          13 kB
          Munendra S N
        2. SOLR-13643-Create-accessors-setters-in-ResponseBuild.patch
          11 kB
          Neal Sidhwaney
        3. SOLR-13643-Create-accessors-setters-in-ResponseBuild.patch
          11 kB
          Neal Sidhwaney

        Issue Links

          Activity

            People

              munendrasn Munendra S N
              nealsidhwaney Neal Sidhwaney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m