groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Yates (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8373) File.filterLine leaves hanging Reader
Date Fri, 03 Nov 2017 17:42:00 GMT

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

Tim Yates updated GROOVY-8373:
------------------------------
    Description: 
Looks like the default method for {{new File('.').filterLine}} creates a {{newReader}} which
is never closed, nor is it accessible for the user to close it themselves.

https://github.com/apache/groovy/blob/2d9c467ade68da0e3e73e64c4db7f29d742162f9/src/main/org/codehaus/groovy/runtime/ResourceGroovyMethods.java#L2386

  was:
If the default method for {{new File('.').filterLine}} creates a {{newReader}} which is never
closed, nor is it accessible for the user to close it themselves.

https://github.com/apache/groovy/blob/2d9c467ade68da0e3e73e64c4db7f29d742162f9/src/main/org/codehaus/groovy/runtime/ResourceGroovyMethods.java#L2386


> File.filterLine leaves hanging Reader
> -------------------------------------
>
>                 Key: GROOVY-8373
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8373
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-jdk
>            Reporter: Tim Yates
>
> Looks like the default method for {{new File('.').filterLine}} creates a {{newReader}}
which is never closed, nor is it accessible for the user to close it themselves.
> https://github.com/apache/groovy/blob/2d9c467ade68da0e3e73e64c4db7f29d742162f9/src/main/org/codehaus/groovy/runtime/ResourceGroovyMethods.java#L2386



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message