[
https://issues.jboss.org/browse/JBRULES-3534?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3534:
--------------------------------------------------
Mario Fusco <mfusco(a)redhat.com> made a comment on [bug
824830|https://bugzilla.redhat.com/show_bug.cgi?id=824830]
The problem was indeed caused by a regular expression (used to remove comments from a DRL)
containing an alternation. I fixed it by splitting that regexp in 2 parts.
DSL expander causes a StackOverflowError on Solaris
---------------------------------------------------
Key: JBRULES-3534
URL:
https://issues.jboss.org/browse/JBRULES-3534
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 5.3.2.Final, 5.5.0.Beta1
When running Drools unit tests on Solaris with Sun JDK 6, the following test throws a
SOE:
org.drools.jsr94.rules.StatefulRuleSessionTest.testContainsObject
java.lang.StackOverflowError
at java.util.regex.Pattern$Loop.match(Pattern.java:4275)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
at java.util.regex.Pattern$BranchConn.match(Pattern.java:4078)
at java.util.regex.Pattern$CharProperty.match(Pattern.java:3345)
at java.util.regex.Pattern$Branch.match(Pattern.java:4114)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
...
Turns out this is because of a bug in Sun JDK that will never be fixed:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050507
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira