harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6642) [classlib][luni] FileInputStream doesn't close FD in native code
Date Wed, 22 Sep 2010 17:33:34 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913674#action_12913674
] 

Hudson commented on HARMONY-6642:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #958 (See [https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/958/])
    Apply patch for HARMONY-6642 ([classlib][luni] FileInputStream doesn't close FD in native
code)


> [classlib][luni] FileInputStream doesn't close FD in native code
> ----------------------------------------------------------------
>
>                 Key: HARMONY-6642
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6642
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M14
>         Environment: all
>            Reporter: Shi Jun Zhang
>            Assignee: Tim Ellison
>             Fix For: 5.0M16
>
>         Attachments: HARMONY-6642.diff
>
>
>         FileInputStream fileIn = new FileInputStream(new File("c:/test.txt"));
>         FileInputStream fileIn2 = new FileInputStream(fileIn.getFD());
>         fileIn2.close();
>         fileIn.read();
> This piece of code will throw IOException with RI but can pass with Harmony.
>         FileInputStream in = new FileInputStream(FileDescriptor.in);
>         in.close();
>         in = new FileInputStream(FileDescriptor.in);
>         in.read();
> This piece of code also will throw IOException with RI but can pass with Harmony.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message