You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Evgueni Brevnov (JIRA)" <ji...@apache.org> on 2006/10/30 13:33:16 UTC

[jira] Created: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

[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  <wu...@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

        

[jira] Updated: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Evgueni Brevnov updated HARMONY-2006:
-------------------------------------

    Component/s: DRLVM

> [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
>            Priority: Minor
>
>   Tony Wu  <wu...@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

        

[jira] Commented: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2006?page=comments#action_12448131 ] 
            
Gregory Shimansky commented on HARMONY-2006:
--------------------------------------------

I've reproduced the same hang up on ubuntu. Thread stacks look like this:

  2 Thread -1214694480 (LWP 19327)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1214690752 (LWP 19322)  0xffffe410 in __kernel_vsyscall ()

THREAD 1:
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ad7c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7b1abaa in condvar_wait_impl (cond=0x805d0c0, mutex=0x805d090, ms=0, 
    nano=0, interruptable=0)
    at /nfs/ims/proj/drl/mrt1/users/gregory/Harmony/enhanced/drlvm/trunk/vm/thread/src/thread_native_condvar.c:69
#3  0xb7b1b1a3 in monitor_wait_impl (mon_ptr=0x805d058, ms=0, nano=0, 
    interruptable=0)
    at /nfs/ims/proj/drl/mrt1/users/gregory/Harmony/enhanced/drlvm/trunk/vm/thread/src/thread_native_fat_monitor.c:208
#4  0xb7b1b24f in hythread_monitor_wait (mon_ptr=0x805d058)
    at /nfs/ims/proj/drl/mrt1/users/gregory/Harmony/enhanced/drlvm/trunk/vm/thread/src/thread_native_fat_monitor.c:237
#5  0xb7f0de09 in sig_full_shutdown ()
   from /nfs/ims/proj/drl/mrt1/users/gregory/Harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/libhyprt.so
#6  0xb7f0a89d in hyport_shutdown_library ()
   from /nfs/ims/proj/drl/mrt1/users/gregory/Harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/libhyprt.so

THREAD 2:
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ada2ae in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7ad6fc7 in _L_mutex_lock_159 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0x00000001 in ?? ()
#4  0x00000000 in ?? ()


> [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  <wu...@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

        

[jira] Resolved: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Gregory Shimansky resolved HARMONY-2006.
----------------------------------------

    Resolution: Fixed

Thanks for the update, the patch applied at 476183. Please check that it was applied as expected.

> [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, classlib_exit_code2.patch, vm_exit_code.patch, vm_exit_code2.patch, vm_exit_code3.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Updated: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Evgueni Brevnov updated HARMONY-2006:
-------------------------------------

    Attachment: classlib_exit_code.patch
                vm_exit_code.patch

> [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
>            Priority: Minor
>         Attachments: classlib_exit_code.patch, classlib_exit_code.patch, vm_exit_code.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Updated: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Evgueni Brevnov updated HARMONY-2006:
-------------------------------------

    Attachment: classlib_exit_code2.patch

Classlib's patch merged with the main trunk.
Please, use classlib_exit_code2.patch

> [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, classlib_exit_code2.patch, vm_exit_code.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Updated: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Evgueni Brevnov updated HARMONY-2006:
-------------------------------------

    Attachment: vm_exit_code3.patch

Confilcts resolved. The patch updated.

> [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, classlib_exit_code2.patch, vm_exit_code.patch, vm_exit_code2.patch, vm_exit_code3.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Commented: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ 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  <wu...@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

        

[jira] Updated: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Evgueni Brevnov updated HARMONY-2006:
-------------------------------------

    Attachment: vm_exit_code2.patch

vm_exit_code2.patch provides more mature implementation of shutdown sequence.
Please use vm_exit_code2.patch instead of vm_exit_code.patch

> [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, classlib_exit_code2.patch, vm_exit_code.patch, vm_exit_code2.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Commented: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2006?page=comments#action_12450564 ] 
            
Gregory Shimansky commented on HARMONY-2006:
--------------------------------------------

The patch  vm_exit_code2.patch doesn't apply cleanly to the VM. Could you please submit it again? Some files have changes significantly since you've attached it.

> [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, classlib_exit_code2.patch, vm_exit_code.patch, vm_exit_code2.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Assigned: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Gregory Shimansky reassigned HARMONY-2006:
------------------------------------------

    Assignee: Gregory Shimansky

> [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  <wu...@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

        

[jira] Updated: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2006?page=all ]

Evgueni Brevnov updated HARMONY-2006:
-------------------------------------

    Attachment: classlib_exit_code.patch

> [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
>            Priority: Minor
>         Attachments: classlib_exit_code.patch, classlib_exit_code.patch, vm_exit_code.patch
>
>
>   Tony Wu  <wu...@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

        

[jira] Commented: (HARMONY-2006) [drlvm + classlib] Wrong exit code in case of uncaught exception

Posted by "Evgueni Brevnov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2006?page=comments#action_12448760 ] 
            
Evgueni Brevnov commented on HARMONY-2006:
------------------------------------------

it should be: HARMONY-2149 fixes deadlock in shutdown sequence


> [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  <wu...@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