You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/04/01 17:51:15 UTC

[jira] [Commented] (SOLR-4659) SolrResourceLoader should always get parent classloader explicitly (no "default" behavior)

    [ https://issues.apache.org/jira/browse/SOLR-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618848#comment-13618848 ] 

Uwe Schindler commented on SOLR-4659:
-------------------------------------

+1 to remove the default behaviour! And especially no NULL default.

I think SolrResourceLoader should require an explicit parent classloader / parent ResourceLoader as ctor param and throw NPE on null.
                
> SolrResourceLoader should always get parent classloader explicitly (no "default" behavior)
> ------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4659
>                 URL: https://issues.apache.org/jira/browse/SOLR-4659
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>
> The webapp classloader should be retrieved once from the context (during static initialization), and passed through when loading the shared resource loader.
> This was spun off of https://issues.apache.org/jira/browse/SOLR-4652

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org