Fix NPE message asserts of JDK15+ 05/101205/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Apr 2022 18:55:38 +0000 (20:55 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 17 May 2022 23:34:40 +0000 (01:34 +0200)
commit81835518d41002c05bd90e212a1a9122a197ac4d
treebbde478f0e741b3f158c57c2bf914caf3b1afaf1
parent66f65ae910ce5787f1a1caa4ad19ddd2fcebbd1f
Fix NPE message asserts of JDK15+

When we are running on JDK15+, the NPE encountered will have a
meaningful message. Adjust asserts accordingly.

JIRA: BGPCEP-1003
Change-Id: Id92070a75fa906de21a2de4d12970664e872ea7b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 5e7f5cb9e5ccd2fa372d0f0aa303bd9be32ea7cf)
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/NextHopAttributeParserTest.java
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/OriginAttributeParserTest.java