Adjust message parsing to account for JDK-8230338 92/100392/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 4 Apr 2022 20:48:14 +0000 (22:48 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 4 Apr 2022 22:11:01 +0000 (22:11 +0000)
commitdd9df455eae3e22db249afc0e539f4d4ecd3e9f9
tree6ac18e0643f782e08f471ec3f31dacfa15340b62
parent6347c40daf2a9e46ac3f3f11d188daa2ba0885c2
Adjust message parsing to account for JDK-8230338

JDK14 changed the error reporting string, which makes our algorithm
fail. Make sure we account for it.

JIRA: YANGTOOLS-1418
Change-Id: Iea9866c6f98508851f0d558d7e2422740e91ef87
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit d99e8743a288ba07b641cf20840ae1ed6c67c8fa)
parser/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/pattern/RegexUtils.java