You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Georgios Stamatis (JIRA)" <ji...@apache.org> on 2008/07/21 19:23:31 UTC
[jira] Updated: (SOLR-642) ShardResponse IllegalAccessError
[ https://issues.apache.org/jira/browse/SOLR-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Georgios Stamatis updated SOLR-642:
-----------------------------------
Attachment: ShardResponse.patch
Should fix this issue
> 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.