TAP5-1791: On some JDKs, the complex regular expression used by ComponentEventLinkEncoderImpl will cause a stack overflow