harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgueni Brevnov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception
Date Mon, 30 Oct 2006 12:33:16 GMT
[drlvm + classlib] Wrong exit code in case of uncaught exception
----------------------------------------------------------------

                 Key: HARMONY-2006
                 URL: http://issues.apache.org/jira/browse/HARMONY-2006
             Project: Harmony
          Issue Type: Bug
         Environment: All
            Reporter: Evgueni Brevnov
            Priority: Minor


  Tony Wu  <wuyuehao@gmail.com> to harmony-dev 
  More options   10:03 am (9 hours ago) 

Consider this class,
public class TestExeReturn {
   public static void main(String[] args) throws Exception {
       throw new Exception();
   }
}

when we run "java TestExeReturn" and "echo %errorlevel%", we got 1 of
RI, -1 of DRLVM and 0 for IBMVM.

a testcase of apache ant failed for this issue.


--
Tony Wu
China Software Development Lab, IBM

I've fixed the above problem in DRLVM. That also require fixing classlib's code. Namely, I
have slightly modified the launcher. Two separate patches were created. One for DRLVM another
for classlib. Tests passed on Win2003, SUSE9 with both patches applied.

Thanks
Evgueni

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message