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-2018) [DRLVM] Fix support of SOE and other runtime exceptions in VM native code
Date Thu, 09 Nov 2006 23:36:38 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2018?page=comments#action_12448616 ] 
            
Gregory Shimansky commented on HARMONY-2018:
--------------------------------------------

I've checked on SuSE9 and it appears that hangup is fixed on it. So now it is only necessary
to fix more modern distributions. I've checked on gentoo, the test still fails in the same
way as on ubuntu. Didn't try fedora but most likely it should hang as well. Probably it is
a different glibc version.

> [DRLVM] Fix support of SOE and other runtime exceptions in VM native code
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-2018
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2018
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Assigned To: Gregory Shimansky
>         Attachments: Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt,
Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt, Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt
>
>
> The following test shows that runtime exceptions in VM native code aren't processed correctly.
> package exception;
> class FinalizeStackTest {
>     private static final int MAX_DEPTH = 1000000;
>     FinalizeStackTest(int c) {
>         if (c > 0) {
>             new FinalizeStackTest(c - 1);
>         } else {
>             System.out.println("PASS");
>         }
>     }
>     protected void finalize() {
>         / empty
>     }
>     public static void main(String[] args) {
>         try {
>             new FinalizeStackTest(MAX_DEPTH);
>             System.out.println("FAIL");
>         } catch (StackOverflowError soe) {
>             System.out.println("PASS : " + soe);
>         } catch (Throwable th) {
>             System.out.println("FAIL");
>         }
>     }
> }

-- 
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