harmony-commits mailing list archives

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

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

Li Jing Qin updated HARMONY-6587:
---------------------------------

    Attachment: echo
                HARMONY-6587.diff

Within the patch:
1. Add the /bin/sh, give another try
2. Add more free to free the malloc things.

> [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
>            Priority: Minor
>         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