harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5712) [classlib][regex] Stack overflow when matching over a long sequence
Date Thu, 10 Apr 2008 14:52:04 GMT
[classlib][regex] Stack overflow when matching over a long sequence
-------------------------------------------------------------------

                 Key: HARMONY-5712
                 URL: https://issues.apache.org/jira/browse/HARMONY-5712
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Tim Ellison
         Attachments: TestMatch.java

See the example (attached) which works ok on the RI but fails with a stack overflow exception
on harmony.

The incidence of overflow seems to be related to the distance between the first and last match
("one" and "two" in the example) since reducing the count of "something" strings to 100 makes
the example work ok.

Looks like a better way of tracking the matched subsequences for backtracking is required.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message