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

Lars Francke updated PIG-4154:
------------------------------
    Attachment: PIG-4154.1.patch

I've attached my stab at this.

> ScriptState#setScript(File) does not close resources
> ----------------------------------------------------
>
>                 Key: PIG-4154
>                 URL: https://issues.apache.org/jira/browse/PIG-4154
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Lars Francke
>            Priority: Minor
>         Attachments: PIG-4154.1.patch
>
>
> When calling {{setScript(File)}} it opens two readers and passes them on. 
> Unfortunately it doesn't close them. That means the underlying files are 
> locked until the next run of the Garbage Collector.



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

Reply via email to