[ 
https://issues.apache.org/jira/browse/DRILL-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Nadeau updated DRILL-2017:
----------------------------------
    Component/s: Execution - Flow

> Many uses of Closeable should be AutoCloseable
> ----------------------------------------------
>
>                 Key: DRILL-2017
>                 URL: https://issues.apache.org/jira/browse/DRILL-2017
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Chris Westin
>
> The difference is subtle. Closeable is designed for I/O, and it's version of 
> close() throws IOException. AutoCloseable is more general, and can be used 
> for things like transactions, or memory management. It's version of close() 
> throws Exception.
> This occurs throughout the code.



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

Reply via email to