SystemStackError is untestable
------------------------------

                 Key: JRUBY-1354
                 URL: http://jira.codehaus.org/browse/JRUBY-1354
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter


There are a number of tests in our test suites that attempt to cause a 
SystemStackError. Unfortunately, it seems this may be impossible to safely 
recover from. Because a Java stack overflow could happen at any time, it's 
always possible that a lock was about to be released, a preX or postX method in 
ThreadContext has only partially completed, and so on. Because of this, stack 
errors are going to almost always be fatal. Having them as part of the test run 
causes intermittent inconsistent state in the runtime, which is the source of 
our occasional test run failures in rubicon/test_array and bfts/test_array. 
Because it's currently impossible to safely recover from a stack error I'm 
disabling those tests. This bug will remain open until such time as stack 
errors can be generated and handled safely.

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to