[
https://issues.apache.org/jira/browse/SOLR-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley resolved SOLR-642.
-------------------------------
Resolution: Fixed
I just committed this. Thanks!
> ShardResponse IllegalAccessError
> --------------------------------
>
> Key: SOLR-642
> URL: https://issues.apache.org/jira/browse/SOLR-642
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 1.3
> Reporter: Georgios Stamatis
> Fix For: 1.3
>
> Attachments: ShardResponse.patch
>
>
> As ShardResponse is package protected, any class that makes extention
> of a search component has access issues due to different classloaders.
> "java.lang.IllegalAccessError: tried to access class
> org.apache.solr.handler.component.ShardResponse from class
> org.apache.solr.handler.component.MyComponent"
> The proposed solution (see Yonik answer on solr-dev) :
> 1. A public scope for the ShardResponse (a class of it's own)
> 2. Switch public members to private and use getters for the search components
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.