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] Created: (HARMONY-6587) [drlvm] Maybe we should give one more try on the file given to a process.
Date Fri, 16 Jul 2010 03:28:50 GMT
[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


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