noblepaul commented on a change in pull request #1669: URL: https://github.com/apache/lucene-solr/pull/1669#discussion_r454700983
########## File path: solr/core/src/java/org/apache/solr/handler/StreamHandler.java ########## @@ -158,8 +158,8 @@ public Class getClazz() { } @Override - protected void initNewInstance(PackageLoader.Package.Version newest) { - clazz = newest.getLoader().findClass(pluginInfo.className, Expressible.class); + protected Object initNewInstance(PackageLoader.Package.Version newest) { + return clazz = newest.getLoader().findClass(pluginInfo.className, Expressible.class); Review comment: Actually no. it can be anything what the listener wants it to be. In this case it's a class ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org