[rules-dev] Regex bug in JDK 5

Geoffrey De Smet ge0ffrey.spam at gmail.com
Sat Dec 25 07:06:58 EST 2010


Nice :) Thanks for fixing. So JBRULES-2849 can be closed?

Next time add the jira issue id in the commit comment JBRULES-2849
that way the commit will be shown in the jira issue (once they enable 
git integration in jira)

With kind regards / Met vriendelijke groeten,
Geoffrey De Smet

Op 25-12-10 11:57, Wolfgang Laun schreef:
> JDK 5 doesn't handle lookbehind assertions correctly if they contain
> alternatives. The fallout from this bug has been cleared up by my
> release
> https://github.com/droolsjbpm/droolsjbpm/commit/f3a50273c91ac697b6f1a0936ce96a44c3b38250
>
> I have added comments to clarify the nature of the "strange" workaround
> regex part that's now being used, which also affects the JUnit tests. If
> JDK 5 is dropped from the has-to-be-compatible-with list of Java
> releases, the simpler regex construct might be used again.
>
> Cheers
> Wolfgang
>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev



More information about the rules-dev mailing list