[
https://issues.apache.org/jira/browse/SOLR-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson resolved SOLR-1130.
----------------------------------
Resolution: Won't Fix
SPRING_CLEANING_2013. We can reopen if there's interest.
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]