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

Shawn Heisey commented on SOLR-8260:
------------------------------------

bq. We should on working to disallow java.io.File throughout Solr!

I thought this had already been added to the forbidden apis config in the build 
system, but it seems that was only for Lucene.  I'm guessing that if we move it 
from the lucene config to the base config, Solr will pick it up as well.

> 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