harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6587) [drlvm] Maybe we should give one more try on the file given to a process.
Date Fri, 16 Jul 2010 14:30:51 GMT

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

Mark Hindess resolved HARMONY-6587.
-----------------------------------

    Fix Version/s: 5.0M15
       Resolution: Fixed

I've applied your patch at r964805.  It makes the assumption that the first exec attempt has
validated the permissions but that seems like a reasonable assumption.

Please confirm (by closing this JIRA) that your patch has been applied as expected.



> [drlvm] Maybe we should give one more try on the file given to a process.
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-6587
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6587
>             Project: Harmony
>          Issue Type: Bug
>         Environment: lunix drlvm
>            Reporter: Li Jing Qin
>            Assignee: Mark Hindess
>            Priority: Minor
>             Fix For: 5.0M15
>
>         Attachments: echo, HARMONY-6587.diff
>
>
> Given a simple test case below:
> String[] cmmds = new String[] {"echo"}; [0]
> ProcessBuilder pb = new ProcessBuilder(cmmds);
> Process p = pb.start();
> p.waitFor();
> System.out.println(p.exitValue());
> harmony + drlvm returns different from RI.
> The basic reason is:
> 1. echo file does not contain the #! interpreter at the beginning
> 2. drlvm return ENOEXEC because "An executable is not in a recognized format".
> Maybe we should give it another try: using '/bin/sh' to run the file.
> [0] echo is a simple file which contains a command. It will be attached.

-- 
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