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 2018/08/08 17:35:00 UTC
[jira] [Created] (SOLR-12645) MemClassLoader#loadResource() is
broken
Uwe Schindler created SOLR-12645:
------------------------------------
Summary: MemClassLoader#loadResource() is broken
Key: SOLR-12645
URL: https://issues.apache.org/jira/browse/SOLR-12645
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Plugin system
Reporter: Uwe Schindler
ResourceLoader#openResource() in this impl always returns null and ignores the ByteBuffer with data that it fetched before (it should warp it with an InputStream). If ResourceLoader#openResource is not supported, it should throw UOE, but returning "null" is against the contract!
This class is completely new to me, but looks like it's used with the plugin system. It should be fixed, as it might be passed as ResourceLoader around, leading to NPEs.
Any comments what's wrong here?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org