crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Leacox (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-356) Replace deprecated Closeables.closeQuietly with explicit IOException handling
Date Fri, 04 Dec 2015 20:13:11 GMT

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

John Leacox commented on CRUNCH-356:
------------------------------------

A quick search for 'com.google.common' finds 571 entries, and that's just finding imports.
Doesn't sound like an easy task to remove it.

> Replace deprecated Closeables.closeQuietly with explicit IOException handling
> -----------------------------------------------------------------------------
>
>                 Key: CRUNCH-356
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-356
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: John Leacox
>            Assignee: Josh Wills
>            Priority: Minor
>         Attachments: CRUNCH-356.patch, CRUNCH-356.patch, patch.diff, patch2.diff
>
>
> Closeables.closeQuietly was deprecated in Guava 13 and removed in Guava 16. If a consumer
of crunch-core is using Guava 16+ a NoSuchMethodError could occur where Closeables.closeQuietly
is being used.
> Uses of Closeable.closeQuietly should be replaced with explicit handling of IOException
with logging.



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

Mime
View raw message