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

Alan Woodward commented on SOLR-8260:
-------------------------------------

Passing the exception itself to the logger generally ends up with a stacktrace 
being written out, which I don't think would be particularly useful here.  But 
I like the idea of replacing e.getMessage() with e.toString(), will update.  
Thanks!

> Use NIO2 APIs in core discovery
> -------------------------------
>
>                 Key: SOLR-8260
>                 URL: https://issues.apache.org/jira/browse/SOLR-8260
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>             Fix For: 5.4
>
>         Attachments: SOLR-8260.patch
>
>
> CorePropertiesLocator currently does all its file system interaction using 
> java.io.File and friends, which have all sorts of drawbacks with regard to 
> error handling and reporting.  We've been on java 7 for a while now, so we 
> should use the nio2 Path APIs instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to