lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Alexander (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1130) Allow subclassing of AbstractSolrEventListener
Date Mon, 27 Apr 2009 20:34:30 GMT
Allow subclassing of AbstractSolrEventListener
----------------------------------------------

                 Key: SOLR-1130
                 URL: https://issues.apache.org/jira/browse/SOLR-1130
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 1.4
         Environment: Linux / CentOS 5.2 with Tomcat 6
            Reporter: Jim Alexander
            Priority: Trivial


Please add "public" access-specifier to org.apache.solr.core.AbstractSolrEventListener to
allow programmers to subclass this class. 

I was able to directly implement SolrEventListener in my own package but I had to dupe the
20 lines of code from AbstractSolrEventListener. 

The current class declaration looks like this: 

class AbstractSolrEventListener implements SolrEventListener {...}

I was not able to subclass AbstractSolrEventListener in my own JAR within my own "org.apache.solr.core"
package because the runtime couldn't instantiate my class. Native code in the JVM throws an
IllegalAccessError. I think the reason is that solr.war is signed which causes JDK 1.6 to
barf when doing this kind of nasty package-theft. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message