harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception
Date Tue, 07 Nov 2006 14:27:00 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2006?page=comments#action_12447801 ] 
Gregory Shimansky commented on HARMONY-2006:

I've tried to apply this patch, but apparently it breaks smoke tests. The test which doesn't
work for me is StackTest. It hangs on gentoo linux (maybe on other too). I'll try to find
out where it happens although I don't promise much. On JIT it shows broken stack and I cannot
understand where the program is waiting.

> [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
>          Components: DRLVM
>         Environment: All
>            Reporter: Evgueni Brevnov
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: classlib_exit_code.patch, classlib_exit_code.patch, vm_exit_code.patch
>   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


View raw message