harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Afremov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-945) Current implementation of DRL VM doesn't support Stack Overflow Error (SOE).
Date Fri, 21 Jul 2006 11:05:13 GMT
Current implementation of DRL VM doesn't support Stack Overflow Error (SOE).
----------------------------------------------------------------------------

                 Key: HARMONY-945
                 URL: http://issues.apache.org/jira/browse/HARMONY-945
             Project: Harmony
          Issue Type: New Feature
          Components: DRLVM
            Reporter: Pavel Afremov


Current implementation of DRL VM doesn't support Stack Overflow Error (SOE).
Following example shows it:

 
public class Stack {
    static int depth = 0;

    public static void func() {
        depth++;
        func();
    }

    public static void main(String[] args) {
        try {
            func();
        } catch (Throwable th) {
            System.out.println("First SOE depth = " + depth);
            System.out.println ("Caught = " + th);
        }
    }
}
 


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